Working with ADO.NET Datasets and .NET Objects using Crystal Reports and ASP.NET 2.0
(Page 1 of 6 )
This is the third article in a series focusing on programming with Crystal Reports with ASP.NET 2.0. In this article, we will focus on working with Crystal Reports with data sources that include ADO.NET datasets and .NET objects.
A
downloadable zip file is available for this article.
If you are new to Crystal report programming, I strongly suggest that you go through the following articles:
Programming Crystal Reports with ASP.NET 2.0
Working with Parameters with Crystal Reports and ASP.NET 2.0
This article uses and enhances the solution (source code) provided at the above links.
If you are new to OOP-based database applications in Visual Basic 2005, I suggest that you go through the following article:
Implementing OOP to Develop Database-Oriented Applications using VB.NET 2005
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 XP Professional 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.
Adding a strongly typed dataset to the project: designer
Before proceeding further, open the "SampleWebSite01" website (available as a download through the first article in this series) and add a new dataset as follows:
Next: Adding a strongly typed dataset to the project: designer code >>
More ASP.NET Articles
More By Jagadish Chaterjee