SilentRage47 SilentRage47 - 1 year ago 183
C# Question

Print multiple copies of the same RDLC report

I have a

reports that print some data based on a certain query. What I'm trying to do now is to print the same report (with different data based on a different value for the primary key) multiple time without having different files to print.

Let's say I have 3 reports of 2 pages each, I want a single report of 6 pages.

I used to do that in
Crystal Report XI
simply by putting a group on my primary key but I haven't been able to replicate that in
Visual Studio Report Designer

I need a preview is possibile so I can't just print them one after another.

Answer Source

After some digging I actually solved my issue using PdfSharp.

It works wonderfully for me because I don't need multiple rdlc files, I just do a loop and then export all to pdf.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download