Xlsio for MVC3

I am working in MVC3 and using my own grid(not syncfusion). In this case Can I use Xlsio for MVC3 to export the grid data to excel? If it can be, could you please send a sample for that?

1 Reply

MM Manikandan M Syncfusion Team November 27, 2012 12:56 PM UTC

Hi Priyesh,

Thanks for using Syncfusion products.

We dont provide the support for importing the custom grid into the excel. Whereas as a workaround, grid data can be filled into the data table and using ImportDataTable(args1,...) method, data table can be imported to excel to achieve your requirement.

We have created the simplified sample to fill the data table with grid datas and importing the datatable into excel file. We have attached the sample in the below  . Please make use of this and let us know if this helps you.

For more reference on ImportDataTable method, please go through the below online link.
http://help.syncfusion.com/UG/Reporting/XlsIO/ASP.NET/default.htm#!Documents/importexport.htm

Thank you very much for your patience.

Please let us know if you need any clarifications.

Thanks,
Manikandan.M





Webgrid_dc850dca.zip

Loader.
Up arrow icon