Sometimes we may have the requirements to export data from Datatable to PDF because PDF files have become as commonplace as MS office files. But when we export data from database, maybe we are not clear the exactly data information from the data source. If the data information is not right, the output exported data may become useless. Is there a way to check and modify information before data export? The answer is definitely YES. Days ago, i create a C# program under the help a free data export component. The c# program with the ability of exporting data from Datatable to PDF and enable users to check and modify information before data export. Below is the instructions:

Easiest/Fastest Method:

Download “Datatable to PDF” Tool (100% Free because I made it by myself) and do the following steps:

Step 1, Input data source and SQL command

In the Connection String and Command Text boxes, input your data source and SQL command

Step 2, Load data source and preview in dataGridView Area

Click “Load” button to load data source from Datatable and preview the data information in dataGridView area.

Step 3, Check and modify the data information at will

In the dataGridView Area, you can modify the information by double-clicking cell content. For example, we can change the cell (column gender, row 2) to female.

Step 4, Export datatable to PDF

After make sure the all data information is correct, click “Run” button to export data to Excel. Check what we get:

 

Do it by yourself:

It’s not difficult to create this kind of tool. If you don’t like my program, you can do it by yourself. Fast create by the following steps:

Step1, Download a Free Data Export Component. This can help you save tons of time on programming.

Step2, Create a WindowsFormsApplication via Visual Studio. Use Free Data Export Component (Spire.DataExport for .NET).

Step3, Design windows components by yourself

Step4, You can use this free data export component to create Datatable to PDF, Datatable to Excel, Datatable to HTML, Datatable to Word, Datatable to CSV, etc. Just Do It!

This Free Data Export Component is 100% Free. I tried!

Directly Download Datatble to PDF tool

Related DataExport Articles:

 

Related PDF Articles:

Share:
  • Facebook
  • Twitter
  • Digg
  • Posterous
  • Add to favorites
  • Kirtsy
  • Ping.fm
  • IndianPad

One Response

Leave a Reply

Categories

Learn Chinese

Date

February 2011
M T W T F S S
« Jan   Mar »
 123456
78910111213
14151617181920
21222324252627
28  

Twiiter

Visits

90
Unique
Visitors
Google Analytics
Stop censorship