Solved

While creating an ASP.Net 4.0 web applicaation in C# using VS2010, is it possible to take the result set from a stored procedure to create a PDF file using iTextSharp?

Posted on 2013-12-14
1
528 Views
Last Modified: 2013-12-15
I am writing my first APS.NET 4.0 web application using web forms. I use VS2010 with C#.
Using iTextSharp, do you know how I would be able to export the result set from a stored procedure into a newly created PDF file? I have PDF Creator if need be.
0
Comment
Question by:zimmer9
1 Comment
 
LVL 44

Accepted Solution

by:
Rainer Jeschor earned 500 total points
ID: 39720351
Hi,
yes, this should be possible.
Assuming that you want to display the result set as a table, there is an excellent article here - including relevant source code:
http://www.dotnetfox.com/articles/how-to-create-table-in-pdf-document-using-Asp-Net-with-C-Sharp-and-itextsharp-1027.aspx

HTH
Rainer
0

Featured Post

Space-Age Communications Transitions to DevOps

ViaSat, a global provider of satellite and wireless communications, securely connects businesses, governments, and organizations to the Internet. Learn how ViaSat’s Network Solutions Engineer, drove the transition from a traditional network support to a DevOps-centric model.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Wouldn’t it be nice if you could test whether an element is contained in an array by using a Contains method just like the one available on List objects? Wouldn’t it be good if you could write code like this? (CODE) In .NET 3.5, this is possible…
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

808 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question