locked
how to generate multiple pdf files using asp.net,C#,rdlc report,sql server in web applcations RRS feed

  • Question

  • User-1338239803 posted

    i need  to  export to multiple PDF files from rdlc automatically 

    if i click button it should generate multiple PDF files

    i tried single PDF its working
    from this http://forums.asp.net/t/1556522.aspx?RDLC+Export+directly+to+Excel+or+PDF+from+codebehind

    but i need to generate multiple pdf files from sql database

    by button click event

     suggest me
     give some idea i need behind code

    Please needful Help

    regards
    ShivaKarthick

    Wednesday, February 3, 2016 6:16 AM

Answers

All replies

  • User-219423983 posted

    Hi shivakarthick,

    shivakarthick

    i need  to  export to multiple PDF files from rdlc automatically 

    Welcome to the ASP.NET Forums.

    If you just want to export RDLC to PDF file, you don’t need to create multiple files as usual and it’s not easy to achieve it. I think you could try to change your mind to refer to the following links to create the PDF files.

    http://www.codeproject.com/Articles/531083/Generating-Dynamic-PDF-Document

    Or, you could create a HTML page with multiple DIV sections and then refer to the following link to import the div to PDF.

    http://www.aspsnippets.com/Articles/Convert-Export-HTML-DIV-or-Table-to-Image-using-HTML-Canvas-in-ASPNet-using-C-and-VBNet.aspx

    Best Regards,

    Weibo Zhang

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Wednesday, February 3, 2016 8:17 AM
  • User2053451246 posted

    i need  to  export to multiple PDF files from rdlc automatically 

    if i click button it should generate multiple PDF files

    i tried single PDF its working
    from this http://forums.asp.net/t/1556522.aspx?RDLC+Export+directly+to+Excel+or+PDF+from+codebehind

    but i need to generate multiple pdf files from sql database

    by button click event

     suggest me
     give some idea i need behind code

    Please needful Help

    regards
    ShivaKarthick

    SSRS does not generate multiple PDFs on its own.  It is a reporting service.  You need to do that yourself.  I use NPOI.

    https://npoi.codeplex.com/

    You need to pay for that service unless you open source your project.  There are other libraries out that that can help you.  Google "generate pdf".

    Wednesday, February 3, 2016 8:27 AM
  • User-1338239803 posted

     

    @Weibo Zhang
    A
    m not asking multiple files
    am asking multiple pdf files in button click event needs to generate multiple PDF files using rdlc 

    Wednesday, February 3, 2016 8:58 AM
  • User-1338239803 posted

    @ryanbesko

    i tried it not happens

    Wednesday, February 3, 2016 9:01 AM
  • User2053451246 posted

    @ryanbesko

    i tried it not happens

    What did you try?  I stated you can't use reporting services to do what you need.  You need to use a separate library.  What library did you choose and what code did you write?

    Wednesday, February 3, 2016 2:10 PM
  • User-219423983 posted

    Hi shivakarthick,

    @Weibo Zhang
    A
    m not asking multiple files
    am asking multiple pdf files in button click event needs to
    generate multiple PDF files using rdlc 

    In my previous reply, I suggest you could use the methods to generater the multiple PDF files without using rdlc, because the “rdlc” could not generate multiple PDF files as I searched. So, I suggest you change the mind and try to use other methods to achieve generating multiple PDF files.

    About the new issue, you’d better show your code as ryanbesko suggested above, so that we could better help you.

    Best Regards,

    Weibo Zhang

    Thursday, February 11, 2016 9:00 AM