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

Can RS Reports content be controlled through the ReportViewer control in C#

I have a report dataset that dynamically returns columns based on which columns a user chooses to include in the GUI.  I have built a report in which I include all columns and then hide those that weren't chosen, but this leads to large, empty report areas when printing (there are about 150 columns to choose from).  Also, the user wants to be able to choose the order in which columns display, which is currently hard coded in the report.

Is there a way to create a report shell with perhaps an empty tablix (either rdl or rdlc) and dynamically add the columns (or have the report do it) in C# through the ReportViewer control?

Thanks.
0
thayduck
Asked:
thayduck
  • 2
1 Solution
 
thayduckAuthor Commented:
Thanks for the link.  That will do the trick.
0
 
thayduckAuthor Commented:
Only a link was provided so no effort was required to explain a solution.
0

Featured Post

The new generation of project management tools

With monday.com’s project management tool, you can see what everyone on your team is working in a single glance. Its intuitive dashboards are customizable, so you can create systems that work for you.

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