Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
90
Exporting a GridView to predefined Excel file
posted

Hi,

Recently i used the Export function and used a template file to export some values to this excel file.

code:

UltraWebGridExcelExporter1.Export(UltraWebGrid2,Infragistics.Excel.Workbook.Load("E:\\tracker\\Template.xls"),1,2);

now I have two problem with this export.

1. the format that i have described in the template and the one written by the gridview exporter are differrent.

2. i dont want the header of each column to be displayed as they are predefined in my template file.

[:D] 

  • 65
    posted

    I have a similar issue.

    I dont want the header information to be exported.  Can this be taken out in the BeginExport? If yes, is there a code sample somewhere?