Hi,
Can anyone help me with the custom code for exporting grid data to excel.
Loading
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Sanjeeb LenkaPosted Jul 12, 2013, 7:04 AM
Ravi ShekharPosted Jul 12, 2013, 6:58 AM
For sorting data you can use order by in your sql query. then fire your export with sorted datatable.
Regards,
Ravi
Vignesh KumarPosted Jul 12, 2013, 6:24 AM
Sanjeeb LenkaPosted Jul 12, 2013, 6:04 AM
http://www.aspdotnet-suresh.com/2011/04/how-to-export-gridview-data-to-excel-or.html
Riyaz AkhtarPosted Jul 12, 2013, 6:02 AM
http://www.codeproject.com/Tips/477436/Export-Gridview-Data-to-Excel-in-ASP-NET