How to Export a GridView to Excel with ASP.NET 2.0 Intuitively
October 31, 2007 by Jason Bean
Filed under Computers
Why isn’t there an included function within ASP.NET development to put an export to Word, Excel, CSV or text control on a web page?
I’ve been using Visual Web Developer Express now for awhile and have churned out a number of websites and pages for clients that are very impressive in my opinion.
I would think it would be to Microsoft’s advantage to make it easy for web developers to export the data presented on a web page in a GridView or other .NET control to an Excel spreadsheet very easily.
I’ve searched for some solutions online and they seem simple enough to a degree. I’m trying to implement them on my projects, but it just brings back the question of why this isn’t a button click event that’s available.
Anyone else think this would be helpful?















If you need to export data from a Gridview to Excel in XML or XLSX format give a look at http://www.gridviewtoexcel.com
To get a real XML or xlsx format export to Excel take a look at http://www.gridviewtoexcel.com
good solution Ettore…but go to hell with that tool..thry to develop something….
Good but go? I don’t think that was really necessary was it? Do you have a better solution available?