Databases Reference
In-Depth Information
36. Run the application again using the
Start
button to bring up
Form1
,
as follows:
37. The
Refresh
button will be highlighted as shown, and to the right of it,
in order are,
Print
,
Print Layout
,
Page Setup
(of the printer), and
Export
buttons. Click on the
Export
button to show the
Export
formats
Excel
,
PDF
, and
Word
.
38. Verify that you can export them to each of these formats, by choosing
them in turn. Note that Adobe reader can convert PDF to Excel or Word
quite easily with a click.
39. In
Solution Explorer
, click on
Form1.Designer.Vb
and you can see the
coding necessary to achieve this display.
This concludes the hands-on exercise 2.5
Hands-on exercise 2.6 - creating a report
using Report Viewer Control for the Web
We will be creating a Web project, which displays a report in one of its Web pages.
A Report Viewer Control is used, which gets its data from the
Northwind
database
on
Kailua
SQL Server 2012.
1.
Start Visual Studio 2012 from its shortcut
All Programs
|
Microsoft Visual
Studio 2012
|
Visual Studio 2012
or the executable at
%ProgramFiles%\
Microsoft Visual Studio 11.0\Common7\IDE\devenv.exe
from the
command line.
Search WWH ::
Custom Search