0

I have a collection of objects, which have fields e.g. Name, Age, Size. How can I generate a pdf stream (to be used as an email attachment afterwards) that would have this data in form of a table with records corresponding to the objects in the collection?

Thanks.

David Shochet
  • 5,035
  • 11
  • 57
  • 105
  • possible duplicate of [Generate pdf file after retrieving the information](http://stackoverflow.com/questions/5244348/generate-pdf-file-after-retrieving-the-information) – Brad Rem Aug 14 '13 at 13:40

1 Answers1

0

you will need to use iTextSharp for that I for example if you have a Data Table and you want to convert it to PDF using itextsharp see this link : using I text sharp to convert Data Table to PDF

Community
  • 1
  • 1
thealghabban
  • 448
  • 2
  • 4