Showing posts with label Export GridView to Excel. Show all posts
Showing posts with label Export GridView to Excel. Show all posts

Friday, June 1, 2012

Asp.net export GridView to Excel spreadsheet


In this port “Asp.net export GridView to Excel spreadsheet”, we shall see how to export content from a GridView to an Excel spreadsheet.

Exporting content to Excel is a common feature, often seen in reporting modules, there are many ways of exporting details to work, here we shall see a simple technique, of reading  the content in a GridView and exporting it to Excel by setting the Content-Type.