Create a Drillthrough (RDLC) Report with Parameters using ReportViewer (SSRS Tutorial)

A drillthrough report is a report that a user opens by clicking a link within another report. Drillthrough reports commonly contain details about an item that is contained in an original summary report. This tutorial will walk you through the following lessons of creating a drillthrough report with parameters and a query, in local mode reporting.

For an example of the drillthrough report with a query-based filter, download the Drillthrough Report Sample from CodePlex. For a description of the sample, see Drillthrough Report Sample.

Requirements

To use this walkthrough, you must have access to the AdventureWorks2008 sample database. The query used in this walkthrough will also work with AdventureWorks2012 database. For more information about how to get the AdventureWorks2008 sample database, see Walkthrough: Installing the AdventureWorks Database for Microsoft Visual Studio 2010.

This walkthrough assumes that you are familiar with Transaction-SQL queries and ADO.NET DataSet and DataTable objects.

Use Visual Studio 2010, or Visual Studio 2012, and the ASP.NET website template to create an ASP.NET webpage with a ReportViewer control. The control is configured to view a report that you create. For this walkthrough, you create the application in Microsoft Visual C#.

Tasks

Lesson 1: Create a New Web Site
Lesson 2: Define a Data Connection and Data Table for Parent Report
Lesson 3: Design the Parent Report using the Report Wizard
Lesson 4: Define a Data Connection and Data Table for Child Report
Lesson 5: Design the Child Report using the Report Wizard
Lesson 6: Add a ReportViewer Control to the Application
Lesson 7: Add Drillthrough Action on Parent Report
Lesson 8: Create a Data Filter
Lesson 9: Build and Run the Application

See Also

Concepts

Design Reports with Report Designer (SSRS)

Other Resources

Reporting Services Tutorials (SSRS)

Web Deployment Overview for Visual Studio and ASP.NET