Welcome to Scribd, the world's digital library. Read, publish, and share books and documents. See more ➡
Download
Standard view
Full view
of .
Add note
Save to My Library
Sync to mobile
Look up keyword
Like this
13Activity
×
0 of .
Results for:
No results containing your search query
P. 1
Crystal Reports for net Reporting Of ADO.net Datasets

Crystal Reports for net Reporting Of ADO.net Datasets

Ratings:

5.0

(1)
|Views: 7,484|Likes:
Published by Sunil M. Kanta

More info:

Published by: Sunil M. Kanta on Dec 16, 2008
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as PDF, TXT or read online from Scribd
See More
See less

09/14/2010

pdf

text

original

 
 Crystal Reports
®
 For Visual Studio .NET
®
 
Reporting Off ADO.NET Datasets
 
Reporting off ADO.NET DatasetsCopyright © 2001 Crystal Decisions, Inc.Page
2
© 2001 Crystal Decisions, Inc. Crystal Decisions, Crystal Reports, and the CrystalDecisions logo are registered trademarks or trademarks of Crystal Decisions, Inc.Microsoft and Visual Studio are registered trademarks of Microsoft Corporation in theU.S. and/or other countries. All other trademarks are the property of their respectiveowners.Version 3.0Crystal Decisions, Inc.895 Emerson StreetPalo Alto, CA 94301
 
Reporting off ADO.NET DatasetsCopyright © 2001 Crystal Decisions, Inc.Page
3
Reporting Off ADO.NET DatasetsIntroduction
Crystal Reports for Visual Studio .NET supports reports that access ADO.NET datasets.You can create an ADO.NET dataset from a variety of sources. Whatever the source is,before you can report off an ADO.NET dataset, you must first generate an object for thedataset. Subsequently, you can use a Report Expert in Crystal Reports for Visual Studio.NET to create a new report based on the data description provided by the dataset object.A dataset object generated with the Visual Studio ADO.NET Dataset Designer contains onlythe data description, and not the actual data. Consequently, when working with a reportconnected to such a dataset object, you cannot browse field data in the Crystal ReportDesigner at design time.To have the report display the actual data at runtime, you must first push the data into thedataset object using the ADO.NET Object Model, and then pass the populated dataset to theReport Engine using the Report Engine Object Model. You must then bind the report to thecorresponding Web or Windows Forms Viewer before building and running the application.
In this walkthrough, you will create a report in Crystal Reports for Visual Studio.NET and report off an Access database via ADO.NET:
1. Create a Web Form with a Web Forms Viewer.2. Use the ADO.NET Dataset Designer to generate an ADO.NET dataset object from anAccess database.3. Use the Standard Report Expert in Crystal Reports for Visual Studio .NET to create a newreport in the same project based on the data description provided by that datasetobject.4. Use the ADO.NET Object Model to push the data into the dataset object.5. Use the Report Engine Object Model to pass the populated dataset object to the ReportEngine, so that the report can display the actual data at runtime.6. Bind the report to a Web Forms Viewer by report object in the application source file.
Note
You can also bind the report to a Windows Forms Viewer and host it in aWindows project. For more information, refer to the online help for Crystal Reports forVisual Studio .NET.7. Run the Web application.
Creating a Web Form with a Web Forms Viewer
Since the different languages in Visual Studio .NET (including Visual C#, Managed C++, andVisual Basic .NET) all support Web Forms programming, you can choose the language youprefer to develop your Web Forms page. However, for the purpose of this walkthrough, youwill be creating a Web project in Visual C#.1. In Visual Studio .NET, select
File
|
New
|
Project
. This invokes the
New Project
dialogbox.

Activity (13)

You've already reviewed this. Edit your review.
1 hundred reads
1 thousand reads
Raj Kumar liked this
richa24 liked this
mkdcade liked this
Ahmed Samir liked this
M VIJAYARAJ liked this
Jvp Jayanthan liked this

You're Reading a Free Preview

Download
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->