How to generate PDF and Word file from asp.net

Last post 04-03-2009 7:39 AM by shahid13384. 6 replies.
Page 1 of 1 (7 items)
Sort Posts: Previous Next
  • 03-24-2009 7:37 AM

    • shahid13384
    • Top 50 Contributor
    • Joined on 06-09-2008
    • United States of Mehsana
    • Wannabe Slacker
    • Points 563

    How to generate PDF and Word file from asp.net

    hi all

    in my project, i am displaying data in repeater in specific format and then i have to generate the PDF file that which contains the data from repeater, with same format. anybody give me the idea how to do this in asp.net.

     

    Thanks & Regards


    The trouble with the world is that the stupid are sure and the intelligent are full of doubt.

    Shahid Hussain Shaikh
    Filed under:
  •  Advertisement

    Featured Advertisement

     
  • 03-24-2009 7:50 AM In reply to

    • Sonu
    • Top 10 Contributor
    • Joined on 05-22-2006
    • Montreal / Canada
    • Slacker
    • Points 12,183
    • MVP

    Re: How to generate PDF and Word file from asp.net

    Try Aspose.PDF

    [MVP since 2005] [MCAD]
    Webmaster of DotNetSlackers
    Question or Suggestion?
    Feel free to ask my any .NET question
    Our Posting FAQ
  • 03-25-2009 1:47 AM In reply to

    • shahid13384
    • Top 50 Contributor
    • Joined on 06-09-2008
    • United States of Mehsana
    • Wannabe Slacker
    • Points 563

    Re: How to generate PDF and Word file from asp.net

    ya sonu but, i think Aspose.pdf is third party tool isn't it? what i want is some code that is to be written through the C#. i.e Is there any classes available in .net framwork  by which i can generate the pdf. documents?

    Thanks & Regards


    The trouble with the world is that the stupid are sure and the intelligent are full of doubt.

    Shahid Hussain Shaikh
  • 03-25-2009 8:41 AM In reply to

    • Sonu
    • Top 10 Contributor
    • Joined on 05-22-2006
    • Montreal / Canada
    • Slacker
    • Points 12,183
    • MVP

    Re: How to generate PDF and Word file from asp.net

    Why do you want to re-invent the wheel? There are open-source 3rd party libraries as well that you can use. Checkout here:

    http://csharp-source.net/open-source/pdf-libraries

    [MVP since 2005] [MCAD]
    Webmaster of DotNetSlackers
    Question or Suggestion?
    Feel free to ask my any .NET question
    Our Posting FAQ
    Filed under: ,
  • 03-31-2009 6:42 AM In reply to

    • shahid13384
    • Top 50 Contributor
    • Joined on 06-09-2008
    • United States of Mehsana
    • Wannabe Slacker
    • Points 563

    Re: How to generate PDF and Word file from asp.net

    hi i ma using itextsharpe for generating the PDF file from asp.net page every thing goes smooth but i am facing problem when try to display image. its gives an error while exporting data from gridview to the PDF.

    Thanks & Regards


    The trouble with the world is that the stupid are sure and the intelligent are full of doubt.

    Shahid Hussain Shaikh
    Filed under: , ,
  • 03-31-2009 8:38 AM In reply to

    • janis
    • Top 50 Contributor
    • Joined on 07-16-2008
    • USA
    • Wannabe Slacker
    • Points 808

    Re: How to generate PDF and Word file from asp.net

    do you use itextsharp +Adobe LiveCycle ? if so do have some tutorials ?

  • 04-03-2009 7:39 AM In reply to

    • shahid13384
    • Top 50 Contributor
    • Joined on 06-09-2008
    • United States of Mehsana
    • Wannabe Slacker
    • Points 563

    Re: How to generate PDF and Word file from asp.net

    hi all,  i am exporting Repeater data to Word file.The repeater contain Image too along with other information.The image is stored in binary format in database.I am using binryWrite function to render image on page.On while exporting data on word every thing got printed but image.It displays Cross sign instead.

    i have tried onther approch too and stored that binary image to temp image file and give path to that temp image file but still its not working any help

    Thanks & Regards


    The trouble with the world is that the stupid are sure and the intelligent are full of doubt.

    Shahid Hussain Shaikh
    Filed under:
Page 1 of 1 (7 items)