• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1341
  • Last Modified:

Is it possible to have a subreport inside a subreport?

Hi experts
I am making reports using VS2008, Report, and C#.

My main report (main.rdlc) contains a subreport (sub1.rdlc). I would like to have another subreport (sub_sub1.rdlc) inside the first subreport (sub1.rdlc).

With one "level" of subreport, I can configure the subreport processing event as:
reportViewer.LocalReport.SubreportProcessing += LocalReport_SubreportProcessing;

Open in new window

In the event handler, I add datasource to the first subreport ("sub1.rdlc").

My question is how to provide datasource to the subreport inside the first subreport? ie. "sub_sub1.rdlc"


PS. I can't find any category for "Microsoft Reporting Service". Please excuse me if I'd put it in the wrong one.
  • 2
1 Solution
Jim HornMicrosoft SQL Server Developer, Architect, and AuthorCommented:
In SSRS yes this is possible.  Subreports are separate .rdl files, each with its own data source, typically by entering in the subreport parameters so that parent and child reports function correctly.
dominicwongAuthor Commented:
Thanks jimhorn.
Jim HornMicrosoft SQL Server Developer, Architect, and AuthorCommented:
Thanks for the grade.  Good luck with your project.  -Jim
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Get expert help—faster!

Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now