How to create PDF document in ASP.NET with C# using iTextSharp
In this blog I am going to explain how to create PDF document in ASP.NET using iTextSharp. First we have to download iTextSharp.dll class library and include to our project. You can download iTextSharp.dll class library here:: http://sourceforge.net/projects/itextsharp/ Then open your project and include that iTextSharp.dll class library. In Designer Source page just add a Gridview and button. Here i have added a button for generating pdf, an image source and a Gridview for storing data :: <div> <asp:Image ID="Image1" runat="server" Width="100%" ImageUrl="https://www.google.co.in/images/srpr/logo11w.png" Height="100%" /> </div> <div> <asp:GridView ID="gvDetails" runat="server" AlternatingRowStyle-BackColor="#FFFFCC"> ...