exporting data to pdf
ASP.NET
2
Posts
2
Posters
0
Views
1
Watching
-
hi all, I wud like to export data from asp.net gridview to pdf format.Can any1 let me know how to go abt it?i tried response.addheader method its not working..is there any other way?
T.Balaji
Hi, You could the the techniques in the following article to iterate through the data: http://www.c-sharpcorner.com/UploadFile/DipalChoksi/exportxl\_asp2\_dc11032006003657AM/exportxl\_asp2\_dc.aspx?ArticleID=000c64fb-8a22-414a-8247-984335aaa0eb And then use the following free library, iTextSharp, to put it into PDF format: http://itextsharp.sourceforge.net/ This should do the trick for you.
Regards, John Adams ComponentOne LLC