How to Export Gridview to PDF Document Generate in Asp.Net C# Using ITextSharp

PDF  Generate Using ITextSharp

Gridview Display Values Download to PDF Format Using ITextSharp.dll in C#


First - Create New - WebForm  -  Insert Values to Database Table - Show the Data from GridView

Next  - Download - Itextsharp.dll  File from  below link

Above  Link  Download  itextsharp.dll  File  to  your  computer

Select - Web Form - Add New Item - Select Add Reference - Browse & Select iTextSharp.dll file

 Next - ItextSharp  Files  - Add to bin

Next - ItextSharp  Library files Calls to Namespaces

                                Server Render control

                           PDF Generate Coding

Select Query  from Database Table to GridView 

                                Click - F5 Button - Run the Program

         Click - Select button  Customer Details Show GridView

Select - PDF Generate Button  



Post a Comment