Programming Crystal Reports with ASP.NET 2.0
(Page 1 of 6 )
This is the first article in a series focusing on programming with Crystal Reports with ASP.NET 2.0. In this article, we will focus on adding a Crystal Report to an ASP.NET 2.0 web site and displaying the same using the CrystalReportViewer control in a number of different ways.
A
downloadable zip file is available for this article.
The entire solution (source code) for this article is available as a free download (in the form of a zip). The source code in this article has been developed using Microsoft Visual Studio 2005 Professional Edition on Microsoft Windows Vista Ultimate Edition with Microsoft SQL Server 2005 Express Edition. I used the same version of Crystal Reports which comes with Visual Studio 2005 Professional Edition. I didn't really test any of the code in any other tools/IDEs/servers/editions/versions. If you have any problems, please feel free to post in the discussion area.
I contributed two articles focusing on the capabilities of ASP.NET 2.0's built-in reporting. If you are new to the built-in reporting (also called local reporting), you can find the articles here:
http://www.aspfree.com/c/a/ASP.NET/Designing-and-Developing-Reports-in-
ASPNET-20/
http://www.aspfree.com/c/a/ASP.NET/Binding-Data-to-the-ReportViewer-Control-
Dynamically-in-ASPNET-20/
Starting an ASP.NET 2.0 Web Site Project
The following are the steps necessary to create a new ASP.NET 2.0 web site:



The next section walks you through adding a Crystal report to the project.
Next: Adding a Crystal Report to the Project >>
More ASP.NET Articles
More By Jagadish Chaterjee