[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

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

sql reporting services using c#

I'm writing a custom renderer in sql reporting services using c#. I could render a report in html if report does  not contains any sub report. My question is how do I render a subreport in c# (programmatically).
I found a very good link on custom renderer. Every thing works fine as per the link but their is no solution for subreport rendering. Look forwad to hearing from you. Thanks.

1 Solution
Jai STech ArchCommented:
you want your subreport to render separately ?

since the subreport is being embeded to your main report, if you render you main report the sub report renders and the output is being generated...

we render our reports to PDF with / without sub reports and so far no issues...ofcourse through C#...
nkusheAuthor Commented:
I could render the subreport but only with the first set of data. Issue is with the parameters values. Main report has a subreport whch takes the date parameter from the main report and sub report is placed on the List control. subreport contains one group. The rendering works fine only for a first parameters values. I'm trying to find a solution to display the entire set of data. Could you send me the example to render the subreport in c# to achieve the custom rendering.

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

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