Convert HTML to PDF in ASP.NET
Code Examples C# VB.NET
The development of ASP.NET components that convert to HTML from Excel XLS Spreadsheet, Word DOC Document
Try high-quality ASP.NET component in order to convert XLS to HTML, ASP.NET component allows to convert DOC to HTML  
ASP.NET components convert to HTML
Components Downloads Purchase Help Contact Us  
 
 convert  PDF Duo .Net   Update!        Version 2.4
       October 27, 2011
 convert  Databeam Excel .Net        Version 2.1
       October 16, 2011
 convert  Databeam Word .Net   Update!        Version 2.1
       September 25, 2011
 
 
       PDF Duo .Net component
 
  »  Overview
  »  Download
  »  [Purchase]
 
 
       PDF Duo .Net component Guide
 
  »  Getting Started
  »  History
  »  Pricing
  »  Support and Contacts
  »  [Documentation]
 
 
       Code Examples
 
  »  Create PDF using HTML string
  »  Can't computer Image Path
  »  Create PDF from Database Table
 
 
       Membership
The association of development high-quality ASP.NET components
Software Industry Professionals
 
The association supports ASP.NET component developers
Organization of Independent Software Vendors
 
pdf duo 11 pdf duo 20 pdf duo 22
 
 

Create the PDF report from Database Table

PDF Duo .Net component Tutorial with code example


Task:
PDF report after HTML converting

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:
  1. Add PDF Duo .Net component to the project.
  2. Initialize the HtmlToPdf instance.
  3. Set up the connection with SQL database & select data from the table.
  4. Compose HTML page with table that includes values from database.
  5. 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...
 Copyright © 2007-2011 DuoDimension Software
Overview of Databeam Excel .Net component to convert automatically Excel Spreadsheet XLS to HTML You Download free trial version of Databeam Exce .Net component for XLS to HTML Last news about how to convert automatically XLS to HTML User documentation about conversion Excel XLS to HTML with Databeam Excel .Net help Buy now Databeam Excel .Net for automatically converting XLS to HTML
Valid HTML 4.01 Transitional