Databases are almost everywhere to store and manage the data. It is a common practice of the programmers to retrieve the data from the databases and load it into the applications. When generating PDF files programmatically, one may need to populate the document with the data in database. To accomplish that in .NET applications, this article shows how to add data from database to PDF files in C#.