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...
Yes.It worked.Thanks.
Thanks Kishor
Thanks dude... its worked for my issue.
Kishor Kodakkatil
Software Engineer
Hello,
Could you please review the sample attached to this post and see if it meets your requirements.
Please feel free to let me know if I misunderstood you or if you have any other questions.
The excel export works for me as long as if give the path where to export.
But, What should I need to do if I need the exporter to just open the excel file and gives me an option to choose the folder to where I can save.
I tried ultraGridExcelExporter.Export(_grdToExport) and it didn't work. Any Idea?