DataTable To XLS File
On page load we have binded with Gridview as shown in image below.
There is a button to download the data.
On the button event we have created a logic to download the data from DataTable to XLS file.
Dummy Records:
Default.aspx.cs
No comments