Fill PDF template with data from sql database

CochiseCounty used Ask the Experts™
I have a PDF form with fields, is there anyway to fill the fields with data from SQL database? The data in SQL database is submitted through web form. Thanks for help.
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
There a couple things out there you can use, the best one I have found is ITextSharp.  It is a free control which allows this type of control.

You can find it at:

You will need to do a little research on how to work with the PDF forms because I personally haven't touched that part, but I do know it works.
I forgot to mention, here is a forum site so you can learn more about the product.


Thanks for your help. I download itextsharp but don't know how to start.
To start out, put the dll into your "bin" folder.  Then add a reference to it through Visual Studio.  Inside your code:

Imports iTextSharp.text.pdf
Imports iTextSharp.text

  PdfReader reader = new PdfReader("pdfdocument.pdf");

This is some quick stuff, I never used it with, but read through the forums and do some research on google.  I do that most of the time myself.

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial