Create the PDF report from Database Table
PDF Duo .Net component Tutorial with code example |
|
Task: |
 |
|
Create the Report with data from SQL Database. Represent report as HTML in browser window then save its copy in the server archive as a PDF document. |
| |
| Directions: |
- Add PDF Duo .Net component to the project.
- Initialize the HtmlToPdf instance.
- Set up the connection with SQL database & select data from the table.
- Compose HTML page with table that includes values from database.
- Convert HTML to PDF document with help of the SavePDF function
|
| |
| Source code (ASP.NET + C#): |
| Download "create pdf from database table .zip" |
|
C# + ASP.NET example |
|
|
|
| |
|
|
|