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
100
export to excel only show column headers not the data
posted

have a standard grid 

<ig:WebDataGrid ID="WeeklyGrid" runat="server" Width="1500px" />, rerurning 15 rows but when i do export to excel i just get column headerstried document exprter as well but same result

code : using this from infragistics samples only

Infragistics.Documents.Excel.WorkbookFormat excelFormat = Infragistics.Documents.Excel.WorkbookFormat.Excel97To2003;

Infragistics.Documents.Excel.Workbook wBook = new Infragistics.Documents.Excel.Workbook(excelFormat);

this.eExporter.Export(this.WeeklyGrid, wBook);

string tmpName = Server.MapPath("~/GridData.xls"); wBook.Save(tmpName);

Parents Reply Children
No Data