Free Support Forum -

I need to export data to Excel by getting data from Database

I am developing a website. On web page I need to create a link when user clicks on that link report shoud display and when user click on save button it should save as an excel file.

I would appreciate if you can email me the sample code to do this.


You could use WebWorksheets.ImportDataView Method to import data to the web control from a database query. Our Aspose.Excel.Web setup bundle includes the ImportDataView sample code.