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
2715
ExcelExporter issue
posted

Hi !

What does the excelExport actuqally export ? the datasource of the grid or the content of the displayed grid ?

Why the following code does not work ? - it generates an empty file - 

 

           UltraGrid ugl = new UltraGrid();

            ugl.SetDataBinding(ds, "reportDataset");

            UltraGridExcelExporter exel = new UltraGridExcelExporter();

            exel.Export(ugl,"E:\\excel.xls");

 

            ugl.Dispose();

            exel.Dispose();