How can export multiple Gridview in one Excel In Asp.net.
How can export multiple Gridview in one Excel In Asp.net. It is very common to work on multiple gridview when we are working on some good project. Here I am showing how can export multiple gridview in asp.net.Because it is normal to download data for report section.so if data is organize in many gridview ,than how can we deal with it ? So here is a simple logic for doing this . Step 1 : Data Base Tables. In this article I am using two table Profile_Detail and State_Detail. But you can use Your own tables according to your need. Step 2: Page Desgin. For page Content I am using two gridview for displaying data from Database and a Button for export data. < div > < asp : GridView ID ="gr1" runat ="server" AutoGenerateColumns = "false" Font-Names = "Arial" Font-Size = "11pt" AlternatingRowStyle-BackColor =...