Hands On Lab: Building Your First Reporting Application with the Visual Studio 2010 ReportViewer ControlVersion: 1.0 DescriptionThis 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. OverviewThis 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. ObjectivesThe objectives of this exercise are to:
System RequirementsYou must have installed the following items to complete this lab:
SetupAll the requisites for this lab are verified using the Configuration Wizard. To make sure that everything is correctly configured, follow these steps.
Note:
To perform the setup steps you need to run the scripts in a command window with administrator privileges.
Cleanup
Using the Code SnippetsWith 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.
Figure 1
Using Visual Studio code snippets to insert code into your project To add a code snippet using the keyboard (C# only)
Figure 2
Start typing the snippet name
Figure 3
Press Tab to select the highlighted snippet
Figure 4
Press Tab again and the snippet will expand To add a code snippet using the mouse (C#, Visual Basic and XML)
Figure 5
Right-click where you want to insert the code snippet and select Insert Snippet
Figure 6
Pick the relevant snippet from the list, by clicking on it ExercisesThis Hands-On Lab comprises the following exercise:
Estimated time to complete this lab: 30 minutes. |