Monday, July 26, 2010

Export DataGrid to Excel, MS Word and Textfile

At first, I used this one first
http://www.codersource.net/asp-net/asp-net-miscellaneous/exporting-data-grid-to-excel-using-c.aspx

Then I found another one. This one works well for me :)
http://archive.aspsnippets.com/post/2009/03/14/Export-GridView-To-WordExcelPDFCSV-in-ASPNet.aspx

Another one, havent tested though.
http://geekswithblogs.net/azamsharp/archive/2006/08/12/87804.aspx

Another one, also havent tested
http://stackoverflow.com/questions/1363169/export-gridview-to-excel-with-rows-formatted-as-text

No comments: