Click here to Skip to main content
15,901,205 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I want to Generate PDF format from online application registration while saving in webform using asp.net
Posted

C#


You can use one of numerous libraries to generate PDFs from your pages. There is a walkthrough here (it uses iTextSharp[^], but others are available - have a Google around).
C#

 
Share this answer
 
v3
Comments
Member 11220730 11-Nov-14 5:30am    
I tried using iTextSharp but textbox values are not saving in the pdf.
Member 11220730 11-Nov-14 5:31am    
Can u giv me any executable source code...
There are many methods and libraries that would help you in creating a PDF file using C# code in ASP.NET website. iTextSharp is one of them which is a usefull library for creating a PDF from HTML.

Have a look at the following CodeProject article[^], although it is in VB.NET, but it will give you an overview of using iTextSharp library. Get the iTextSharp library at sourceforge[^].

For a quick guide, read this article[^] and go to the Quick Example section of it. It has a really very quick example of converting the web page to a pdf.

Finally, read this previous question[^].
 
Share this answer
 
v2

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