Author: lahorya | Posted on: 2/12/2008 6:00:04 AM | Views : 340

  HI Guys,            I am trying to create a PDF of my ASP .NET web page.  I have tried using iTextSharp but couldnt create pdf.  is there any way of creating a pdf of my webpage. 
Document myDocument; myDocument = new Document(PageSize.A4.Rotate()); PdfWriter.GetInstance(myDocument, new FileStream("C:\\Dev\\Examples\\zz1.pdf", FileMode.Create)); myDocument.Open(); myDocument.Add(new Paragraph(tmp)); myDocument.Add(new Paragraph("Hello World")); myDocument.Close(); I tried  the above code it works fine if i create a pdf with this Hello World but I want to send my table or div from my web page to pdf ...

Go to the complete details ...