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
518 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

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

This article is for Object-Oriented Programming (OOP) beginners. An Interface contains declarations of events, indexers, methods and/or properties. Any class which implements the Interface should provide the concrete implementation for each Inter…
Performance in games development is paramount: every microsecond counts to be able to do everything in less than 33ms (aiming at 16ms). C# foreach statement is one of the worst performance killers, and here I explain why.
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…

705 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now