In this section, we will use ReportViewer to show one of the SSRS reports on the report server (deployed in the previous example). Perform the following steps:
Open Visual Studio 2012 and create a new project.
In the New Project dialog box, under Visual C#, select Web. Then, from the templates' list, choose ASP.NET Empty Web Application, as shown in the following screenshot:
When the new project is created, right-click on the project in the solution explorer, and under Add, click on Web Form. Name it
SampleReportViewerPage
.Open
SampleReportViewerPage.aspx
from the solution explorer.Navigate to Toolbox | Reporting and double-click on ReportViewer.
When the ReportViewer control appears on the web page, click on the small smart tag icon (a smart tag is a visual pane for configuring each component in an easier way; it can be opened by clicking on the top right-hand side of the control with a > icon).
In the ReportViewer smart tag...