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
50
How to export to excel from an UltraWinGrid
posted

I have a simple .NET datatable. I want to export the data to an excel. I would like to use an ultrawingrid to do the export.

Here is the code...

UltraGrid

 

ultradg = new UltraGrid();

ultradg.DataSource = table;

ultradg.DataBind();

 

 

 

 

UltraGridExcelExporter

 

ultraGridExcelExporter1= new UltraGridExcelExporter();

 

 

 

 

 

this.ultraGridExcelExporter1.Export(ultradg, path);

Seems simple enough..But it doesnt export any data..The datatable has got data...

Parents Reply Children
No Data