Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 881
  • Last Modified:

DataGrid/Dataview to iTextsharp PDF

Hi!

I have a Datagrid i want to insert into a PDF file using iTextsharp.
Im using VB

Really stuck on this one!
0
Olimb
Asked:
Olimb
  • 3
  • 2
1 Solution
 
binaryevoCommented:
You have a few options here and ill give you the most common one.  Just create a new itextsharp document, setup the properties ( via code ) and loop through your dataset and apply to the document by creating rows and columns.  Here is a decent link to help you get started, hope this helps:

http://www.martinwilley.com/net/code/createpdf.html
0
 
OlimbAuthor Commented:
Thanks binaryevo, but I work in VB...
That was C
0
 
binaryevoCommented:
0
 
OlimbAuthor Commented:
Still in C...
0
 
binaryevoCommented:
Scroll down the page to the last entry....
0

Featured Post

Transaction-level recovery for Oracle database

Veeam Explore for Oracle delivers low RTOs and RPOs with agentless transaction log backup and transaction-level recovery of Oracle databases. You can restore the database to a precise point in time, even to a specific transaction.

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now