Reputation: 5738
I dont want intermittent of using Gridview or Datagrid controls. I want directly to export a DataTable data to an Excel in straight forward. Is there a way to export by querying the DataTable and export the same into a new Excel.
Please HELP!!
Upvotes: 0
Views: 1641
Reputation: 6981
Take a look at this you can do it with XSLT
http://www.codedigest.com/Articles/ASPNET/13_Export_dataset_to_Excel_with_XSLT_in_AspNet_20.aspx
Upvotes: 0