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"

Thanks

PS. I can't find any category for "Microsoft Reporting Service". Please excuse me if I'd put it in the wrong one.
dominicwongAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

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.
1

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
dominicwongAuthor Commented:
Thanks jimhorn.
0
Jim HornMicrosoft SQL Server Developer, Architect, and AuthorCommented:
Thanks for the grade.  Good luck with your project.  -Jim
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
SSRS

From novice to tech pro — start learning today.