Databases Reference
In-Depth Information
The Report Viewer Controls you find in VS2012 (version 11.0.0.0) are similar to
the ones available in VS2010 (version 10.0.0.0), and these controls are not upgraded.
Instead of Visual Studio 2012, you can also use VS2010, which you may download
from
http://www.microsoft.com/en-us/download/details.aspx?id=12187
.
In the following sections, the worked examples will show how these are used
in creating reports. Local or remote is a property of the Report Viewer, or rather
how and where the report is processed. You should familiarize yourself with the
properties of this control, which is easily accomplished by a right-click on on the
Report Viewer Control (they are found under the section
MISC
in the properties
window in Visual Studio 2012 and as an independent node in the properties
window in Visual Studio 2010).
Hands-on exercise 2.5 - creating a report for
a Windows Form application using Report
Viewer Control
Although viewing reports on the Web has become a norm, desktop applications are
still used in businesses. Report Viewer Control comes in two forms, and the one for
Windows Forms application is used in this exercise. Click
Start
|
All Programs
|
Microsoft Visual Studio 2012
|
Microsoft Visual Studio 2012
.
1.
Click on
New Project
to open the
New Project
window, as follows:
2.
Windows Forms Application
is the first option. Note that the target
framework is
.Net Framework 4.5
and the default name of the project
is
WindowsApplication1
. You can choose a name. Here, the name
chosen is
Win7RV
. The location is the
Projects
folder of VS2012.
Search WWH ::
Custom Search