Export to Excel in ASP.Net 2.0 – Gridview to Excel, DataTable to Excel,Exporting data to excel sheet is one of the common feature we will provide for a data driven website. We will normally provide reports in a webpage using GridView control. So, it will be better if we provide an export to excel functionality with the GridView itself.Control 'gvEmployee' of type 'GridView' must be placed inside a form tag with runat=server.Adding the Gridview to a HtmlForm object for export to excel.How to export GridView to excel.
