Click here to Skip to main content
15,895,667 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,

I am working on Web application.
I have one html page with tables and content on it.
now my query is how to convert page content to generate PDF file .
Is client need (users) need any thing to install on machine

Pls help me
Posted

There isn't anything built into the .Net framework, so basically you'll end up writing your own third party tool.

you can check this

HTML to PDF in VB.NET or CS.NET[^]
 
Share this answer
 
 
Share this answer
 
I hope the following code may be help to you, i am creating the PDF file from RDLC report, my code is below...

VB
Dim byteViewer As Byte() = ReportViewer1.LocalReport.Render("PDF")
Dim newFile As New FileStream("C:\Users\SathishKumar\Desktop\♫ ".pdf", FileMode.Create) 'Pdf save location.
            newFile.Write(byteViewer, 0, byteViewer.Length)
            newFile.Close()
 
Share this answer
 

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