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 |
|
|
|
| |
|
|
| |
| Components News |
|
| |
December 14, 2011 |
|
| |
|
| |
PDF Duo .Net component 2.4 |
| |
• New algorithm of list rendering at HTML to PDF converting.
• Fixed the issue of indent in list writing to PDF. |
| |
|
| |
November 18, 2011 |
|
| |
|
| |
PDF Duo .Net component 2.4 |
| |
• Improved the CSS parser.
• Added the parsing of tabs. |
| |
|
| |
November 02, 2011 |
|
| |
|
| |
PDF Duo .Net component 2.4 |
| |
• Improved rendering of images in the PDF document.
• Fixed issues of image alignment.
• Fixed issues of carrying the image over to the next line. |
| |
|
| |
October 27, 2011 |
|
| |
|
| |
PDF Duo .Net component 2.4 |
| |
• Fixed text alignment in PDF.
• Updated the class contening paragraph styles of HTML. |
| |
|
| |
October 11, 2011 |
|
| |
|
| |
PDF Duo .Net component 2.4 |
| |
• Fixed the converting of tables in Footer/Header.
• Fixed issue of cell splitting at rendering PDF file. |
| |
|
| |
September 23, 2011 |
|
| |
|
| |
PDF Duo .Net component 2.4 |
| |
• Excluded the issue of converting TIFF images to PDF |
| |
|
| |
September 05, 2011 |
|
| |
|
| |
PDF Duo .Net component 2.4 |
| |
• Fixed center alignment in PDF document.
• Fixed issue of underlinestyle in PDF. |
| |
|
| |
August 22, 2011 |
|
| |
|
| |
PDF Duo .Net component 2.4 |
| |
• Fixed issue of converting GIF files to PDF from HTML.
• Optimized functions of PDF writing. |
| |
|
| |
all news... |
|
|