ASP.net produce a pdf from a GridView

Hi

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

Thanks
Murray BrownMicrosoft Cloud Azure/Excel Solution DeveloperAsked:
Who is Participating?
 
Deepak LakkadConnect With a Mentor Commented:
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
 
Murray BrownMicrosoft Cloud Azure/Excel Solution DeveloperAuthor Commented:
Thanks
1
All Courses

From novice to tech pro — start learning today.