Windows Forms: How-To Crystal Reports Print Preview
How to use the crystal decisions print preview report viewer.
Featured Highlights
-
How to show a simple report using the crystal decisions viewer.
-
How to pass parameters to a report and show it in the viewer.
-
How to use the group navigation tree on the viewer.
-
How to dynamically change a report at runtime.
-
How to use the drill down feature using a graph on a report.
Requirements
Requires the release version of Visual Studio .NET Professional ( or greater)
and access to the Northwind databse residing in SQL Server or the Microsoft
Data Engine (MSDE). To install MSDE, do the following:
-
Open Start Menu, then click Programs, then click Microsoft.NET Framework SDK,
and then click samples and Quickstart Tutorials.
-
Click "Step 1: Install the .NET framework Samples Database".
-
Open a command window, and CD to FrameworkSDK\Samples\Setup This is usually:
C:\Program Files\Microsoft Visual Studio .NET\FrameworkSDK\Samples\Setup
-
Type: osql -E -S (local)\VSdotNET -i InstNwnd.sql
Running the Sample
Simply Press F5.
See Also
Crystal
Reports Overview
Hosting reports in Windows Applications