Click here to Skip to main content
15,895,777 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
how to write code to export a gridview data from database to excel or pdf after export button click then one dialog box with dropdownlist of excel and pdf depends upon selection is to be process
Posted

Use JQuery DataTable which will give you provision to export your Grid data in Excel or Pdf file.
Here is link for this
DataTable
 
Share this answer
 
 
Share this answer
 
You can refer article from here.. "http://www.aspsnippets.com/Articles/Export-GridView-To-Word-Excel-PDF-CSV-Formats-in-ASP.Net.aspx[^]

If you wish, you can write your own code PDF export using xslt.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900