Thursday, July 29, 2010 12:28 PM
i am developing a web application. Can someone help me with code to export data in an asp.net table to excel or csv format.
thanks in anticipation.
Friday, July 30, 2010 7:48 AMModerator
Welcome to Microsoft Office for Developersforum! I'm glad to see your active participation and discussion in Microsoft Office for Developersforum. Here's a same issue with yours has been solved please refer to below link:
(How to transfer html table data into excel sheet?) http://forums.asp.net/t/1214938.aspx
Hope these will help you!
If you still have any doubt and concern about this issue, please let me know. If I misunderstood you, please kindly elaborate your question.
Please Mark as Answered If this is helpful Or Un-Mark as Answered if it is not helpful.
Microsoft Online Community Support
- Marked As Answer by Tryxo Friday, July 30, 2010 3:29 PM
Friday, July 30, 2010 3:30 PM
thank you, Yan Jun. it worked! i'm glad i have finally solved this problem; i've been on it for days.
one more thing: is it possible for me to sort the data on the table by one of the columns before displaying it on the web page. its actually an asp table not html.
pls assist me if u can.
Saturday, June 25, 2011 5:24 AM
I have written a code to export datatable into excel without using any third party tool. please look at it.
Saturday, June 25, 2011 3:15 PMfor exporting asp.net table to excel, free solution to export data to EXCEL, WORD, PDF WITHOUT OLE AUTOMATION.