Using CrystalReportViewer to Display Crystal Reports in .Net
(Page 1 of 4 )
I explained in my previous article how to use Crystal Report Viewer to see Crystal Reports in an application. In this article you will learn about Crystal Report Viewer in more detail.
First of all, having Crystal Reports along with Visual Studio .Net is a great advantage. It makes certain tasks easier for developers. Along with Crystal Reports, Visual Studio .Net provides various tools which help developers build applications faster. Crystal Report Viewer is one of the tools available in Visual Studio to help you bind Crystal Reports to your Windows forms and view reports as part of a Windows application.
There are two Crystal Report Viewers. One is Crystal Report Viewer for Windows forms and one is Crystal Report Viewer for web forms. We will focus on the former in this article.
Let's see how to bind a report to Crystal Report Viewer.
Create any Crystal Report in your Windows application. Please refer to my previous article on creating summary Crystal Reports for more information.
Create a new Windows form. Go to Project Menu -> Add Windows Form.
Adjust the form size as per your Crystal Report size.
Crystal Report Viewer is a control available in the tool box with Visual Studio.net.

Add this control to your Windows form.
Resize the control (Crystal Report Viewer) so that it will fill the entire form. To do this, right click on Crystal Report Viewer and set its Dock Property to Fill. Select the drop down box and click on the middle square to set the property to Fill.

Next: Binding with the Report Source Property >>
More .NET Articles
More By Madhuri Chanda