Solved

ASP.net produce a pdf from a GridView

Posted on 2016-09-29
2
68 Views
Last Modified: 2016-10-02
Hi

What VB.net code would I use to convert the data in a bound GridView into a printable pdf document?

Thanks
0
Comment
Question by:murbro
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 11

Accepted Solution

by:
Deepak Lakkad earned 500 total points
ID: 41823037
Hi,

 iTextSharp library is useful for creating PDFs for Web Pages.

Folllowing is the link for Nuget Package

https://www.nuget.org/packages/iTextSharp/

Also, there is good example for exporting GridView to pdf is as below:

http://www.aspsnippets.com/Articles/How-to-export-GridView-data-to-PDF-file-in-ASPNet.aspx


Deepak Lakkad
0
 

Author Closing Comment

by:murbro
ID: 41825163
Thanks
1

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Just a quick little trick I learned recently.  Now that I'm using jQuery with abandon in my asp.net applications, I have grown tired of the following syntax:      (CODE) I suppose it just offends my sense of decency to put inline VBScript on a…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.

751 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