Passing parameters to a report

As you've learned so far, ReportViewer is a built-in .NET component for Windows and web applications that work in the remote and local processing modes to show a report from the report server or from a client application to the user. This is not the only feature that ReportViewer provides. This component also provides functions and subclasses to work with the report object and parameters. This means that as a C# or VB.NET developer, you can get parameters from some controls in your application and pass the parameters through the code behind to the ReportViewer, and this will cause the report to be loaded by considering those parameters.

Get Microsoft SQL Server 2014 Business Intelligence Development: Beginner’s Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.