Posted on: 9/3/2012 3:29:30 AM | Views : 448

HI to All...
In my current project i just want generate PDF Report from my aspx page ... i have written some come here am able to genrate pdf but problem is in my pdf fine unable to display dynamic values coming from database and alignment is also not proper... Below My Code is

using iTextSharp;
using iTextSharp.text;
using iTextSharp.text.pdf;
using iTextSharp.text.html.simpleparser;
using System.Collections;

 Document itextDoc = new Document();
        PdfWriter pdfDoc = PdfWriter.GetInstance(itextDoc, Response.OutputStream);

        System.Net.WebClient webClient = new System.Net.WebClient();
        //passing url of local web page to read its html content
        Stream responseData = webClient.OpenRead("http://localhost:2364/HDSAPP/Pages/Default.asp ...

Go to the complete details ...