Hands On Lab: Building Your First Reporting Application with the Visual Studio 2010 ReportViewer Control
This Hands On Lab will show you how to develop a custom application that displays interactive SQL Server 2008 R2 Reporting Services Reports from a custom application using the Visual Studio 2010 ReportViewer control.
This lab will introduce two important Reporting Services programming capabilities that enable developers to embed reports and reporting functionality into their applications. The first capability is delivered through Web services. The second capabilty is delivered with the ReportViewer control.
The objectives of this exercise are to:
You must have installed the following items to complete this lab:
All the requisites for this lab are verified using the Configuration Wizard. To make sure that everything is correctly configured, follow these steps.
To perform the setup steps you need to run the scripts in a command window with administrator privileges.
Using the Code Snippets
With code snippets, you have all the code you need at your fingertips. The lab document will tell you exactly when you can use them, as shown in the following figure.
Using Visual Studio code snippets to insert code into your project
To add a code snippet using the keyboard (C# only)
Start typing the snippet name
Press Tab to select the highlighted snippet
Press Tab again and the snippet will expand
To add a code snippet using the mouse (C#, Visual Basic and XML)
Right-click where you want to insert the code snippet and select Insert Snippet
Pick the relevant snippet from the list, by clicking on it
This Hands-On Lab comprises the following exercise:
Estimated time to complete this lab: 30 minutes.