Free Support Forum - aspose.com

Grid view to excel

hi,

Presently Iam generating reports from database using stored procedures and displaying them in my website using gridview.

now i need to generate a excel file to save the reports.

is there any way to convert gridview data into excel sheet.

thanks in advance.

Hi,

Thanks for considering Aspose.

Well there is no direct way to do that we will support this feature in our future versions soon.

But you may try to fill a datatable / dataview from gridview and use GridWeb.WebWorksheets.ImportDataView to import data to the control.

Please check:

http://www.aspose.com/wiki/default.aspx/Aspose.Grid/ImportDataView.html

Thank you.