Click here to Skip to main content
12,814,411 members (37,390 online)
Rate this:
Please Sign up or sign in to vote.
See more: C# ASP.NET C#4.0
Suppose I have an form where different information about a person. When I click on submit button in a web form, I want to write all the information in a pdf file like a resume. How can i make this in PDF file? Is there any default PDF content in C#?
Posted 17-Feb-13 2:56am

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

A good way to generate PDF in a situation like yours is to create PDF from HTML. Create a text file written all your HTML code. Then replace specific section of that text file with your desired or input text of the form. Then you can convert that HTML into PDF file. Now there are many way to convert HTML to PDF file. Check below links..

Similar Question at Codeproject:
How to create PDF file from a HTML page C#[^]

Other Links:[^][^][^]

I hope this will help.
Thanks :)
Shafiqur Rahman, Banladesh 17-Feb-13 8:20am
If I wish to take data from database write it on Pdf file. What should I do?
Shafiqur Rahman, Banladesh 17-Feb-13 8:46am
Is there any default component or only third party tools like PDFSharp , iTextSharp etc.??
Sk. Tajbir 17-Feb-13 8:47am
You can use same method.. just replace your value from database with a specific section of the html written text file..

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

    Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web02 | 2.8.170308.1 | Last Updated 22 May 2015
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100