Click here to Skip to main content
15,895,192 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
How to create a pdf file using data from user input in asp .net c#

I want to create an order reciept(pdf file) based on the user's request.

And on the next page I want to show Download and Print Button for the same Order Reciept.


Please help
Posted

Basically you want to convert HTML into PDF.

Here:
Convert HTML content to PDF[^]
Convert HTML to PDF in .NET[^]
 
Share this answer
 
Use SharpPDf or iTextSharp. You can use it to build pdf on request, or in a background process.
 
Share this answer
 
v3

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