Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. exporting data to pdf

exporting data to pdf

Scheduled Pinned Locked Moved ASP.NET
csharpasp-nettutorialquestion
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • B Offline
    B Offline
    balaji t
    wrote on last edited by
    #1

    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

    J 1 Reply Last reply
    0
    • B balaji t

      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

      J Offline
      J Offline
      John_Adams
      wrote on last edited by
      #2

      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

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups