Posted on: 10/12/2014 2:14:50 PM | Views : 427

Hello Everyone ,
Please help me in one very important issue..
i want to create pdf file from vb.net where data are come from database..
i research a lot about it in Google but i did not get expected result..my code are given below..
Imports iTextSharp.text Imports iTextSharp.text.pdf Imports iTextSharp.xmp Imports System.IO Imports iTextSharp.text.html.simpleparser Imports System.Configuration Imports System.Data Imports System.Data.SqlClient Imports System.Collections.Generic Imports System.Xml Protected Sub btnsubmit_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles btnsubmit.Click Try Dim fileName As String = "testtest.pdf" Dim text As String = "<b>hello</b>" Response.Clear() GeneratePDF("d://", fileName, False, text) Response.ContentType = "application/pdf&qu ...

Go to the complete details ...