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. General Programming
  3. C#
  4. .NET to pdf

.NET to pdf

Scheduled Pinned Locked Moved C#
csharpdatabaseasp-netsql-serversysadmin
7 Posts 3 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.
  • K Offline
    K Offline
    krishnan
    wrote on last edited by
    #1

    I need to generate pdf dynamically, programmatically from an ASP.NET web form. I use C# for the code behind. I retrieve data from a SQL server database. I need to let a user on my web application have the option of generating a pdf document with this data, save it on a local drive or path of choice, and view it. Thank you in advance..

    C A 2 Replies Last reply
    0
    • K krishnan

      I need to generate pdf dynamically, programmatically from an ASP.NET web form. I use C# for the code behind. I retrieve data from a SQL server database. I need to let a user on my web application have the option of generating a pdf document with this data, save it on a local drive or path of choice, and view it. Thank you in advance..

      C Offline
      C Offline
      Chris Rickard
      wrote on last edited by
      #2

      I think Crystal Reports which comes with VS Enterprise Architect has PDF export functionality

      K 1 Reply Last reply
      0
      • C Chris Rickard

        I think Crystal Reports which comes with VS Enterprise Architect has PDF export functionality

        K Offline
        K Offline
        krishnan
        wrote on last edited by
        #3

        Thank you. i will look into that..if u know any of the specifics involved in exporting CR to pdf do let me know..thanks a bunch.. Thank you in advance..

        1 Reply Last reply
        0
        • K krishnan

          I need to generate pdf dynamically, programmatically from an ASP.NET web form. I use C# for the code behind. I retrieve data from a SQL server database. I need to let a user on my web application have the option of generating a pdf document with this data, save it on a local drive or path of choice, and view it. Thank you in advance..

          A Offline
          A Offline
          Andrew Connell
          wrote on last edited by
          #4

          Check this out: http://sourceforge.net/projects/pdflibrary/ It's officially in BETA, but I've been using it in one application for a little while now without problems. Andrew Connell IM on MSN andrew@aconnell.com

          K 1 Reply Last reply
          0
          • A Andrew Connell

            Check this out: http://sourceforge.net/projects/pdflibrary/ It's officially in BETA, but I've been using it in one application for a little while now without problems. Andrew Connell IM on MSN andrew@aconnell.com

            K Offline
            K Offline
            krishnan
            wrote on last edited by
            #5

            I have tried using the project u mention. It currently generates a single page pdf document. I was not able to figure out how to make multi page pdf documents with it..have u had any success in this regard??when i tried adding more text than a single page could hold it kind of ran out of the page..how do i tweak or add to the code to make it generate as many pages as necessary to hold the data??if you could please help me on this matter..i appreciate your time.. Thank you in advance..

            A 1 Reply Last reply
            0
            • K krishnan

              I have tried using the project u mention. It currently generates a single page pdf document. I was not able to figure out how to make multi page pdf documents with it..have u had any success in this regard??when i tried adding more text than a single page could hold it kind of ran out of the page..how do i tweak or add to the code to make it generate as many pages as necessary to hold the data??if you could please help me on this matter..i appreciate your time.. Thank you in advance..

              A Offline
              A Offline
              Andrew Connell
              wrote on last edited by
              #6

              Hmmm... never had the need... all my reports are one page. If I uncover anything I'll keep you informed. Andrew Connell IM on MSN andrew@aconnell.com

              K 1 Reply Last reply
              0
              • A Andrew Connell

                Hmmm... never had the need... all my reports are one page. If I uncover anything I'll keep you informed. Andrew Connell IM on MSN andrew@aconnell.com

                K Offline
                K Offline
                krishnan
                wrote on last edited by
                #7

                Thank you...I appreciate your help and time.. Thank you in advance..

                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