Datasheet
The following samples are included in this set:
Sample Description
Simple Page The Simple Page sample application demonstrates using the Web
Forms Viewer with one of the sample reports (World Sales). This
sample demonstrates drilling down into the details of the report and
some of the other features of the report viewer, including the report
group tree, the viewer toolbar, and the page control options.
Custom Navigation This sample demonstrates the amount of customization that can
occur within the Web Forms Viewer. The viewer has a set toolbar by
default, but developers who wish to control the look and feel of the
entire page can control the toolbar or even create their own with min-
imal coding.
Interactivity This shows how events can be fired when different areas of a report
are clicked, which will change the text of the textbox in the upper
right-hand corner. It also gives some insight into the events sup-
ported by the Web Forms Viewer.
There is also a More Samples link that will take you back to the Crystal Decisions Web site.
The second set of sample applications, for Windows Forms, is extracted from a self-extracting file and
can be found in the WinForms folder. These samples demonstrate the use of Crystal Reports .NET with
Windows applications and include separate projects for Visual Basic and Visual C#. Both of these pro-
jects demonstrate a simple Preview implementation of the Windows Forms Viewer and allow you to
select a report to view. Once you have selected a report file (there are a couple located in the
Reports
directory of the Samples folder), the report is bound to the viewer; the Print Engine runs the report and
uses the viewer to display the results.
Sample Reports
In addition to sample applications, there are also sample report files available for you to use in your
testing and development. There are two different sets of reports available in the Reports directory of the
Samples folder: Feature Examples demonstrate different features and functionality within Crystal
Reports .NET (Charting, Embedded Hyperlinks, Sorting, and so on), and General Business reports are
typical of reports that may be created and used in business (Income Statement and World Sales Report,
for example).
All of these reports have been created using the sample Access database that ships with Crystal Reports
.NET and are indispensable to use when debugging. If you are having difficulty integrating your report
and can’t determine whether it is your code, the viewer, or the report designer itself that is not working,
you can substitute your report with one of the sample reports and at least eliminate one option!
20
Chapter 1
01 557300 Ch01.qxd 3/24/04 9:37 AM Page 20