Detailed Listing of All Scenarios
For streamlined assistance in deciding which report binding scenario to use, see Summary of Recommended Scenarios.
Note
Most Web Sites or Windows projects can rely on the two simplest binding scenarios: binding to an embedded or non-embedded report, which are explained step-by-step in the Tutorials. Therefore, before reading this section, try working through a tutorial in Tutorials.
Across the entire Crystal Reports product family are four object models. Each of these object models provides multiple scenarios to bind a report to the CrystalReportViewer control.
Object Models available with Crystal Reports
CrystalReportViewer Object Model
- Binding to a File Directory Path in Code
- Binding to a File Directory Path Through the Properties Window
- Binding to a CrystalReportSource Control (Web Sites in Visual Studio)
- Binding to a Report Web Service URL
- CrystalReportViewer Binding Scenarios that Use Crystal Services
- Binding to Server Files (VS .NET 2003)
- Binding to Crystal Enterprise (VS .NET 2003)
- Binding to Server Files (Visual Studio 2005 and up)
- Binding to Crystal Reports Server or BusinessObjects Enterprise (Visual Studio)
- Binding to Report Application Server (Crystal Reports 9 and up)
- Binding to Crystal Enterprise (Crystal Reports 9)
- Binding to ReportSource (Crystal Reports Server or BusinessObjects Enterprise 11)
ReportDocument Object Model
- Binding to an Embedded Report Class
- Binding to an Embedded Report Class Upcast to ReportDocument
- Binding to a Non-embedded Report Loaded into the ReportDocument Class
- Binding to a Cached Embedded Report Class
- Binding to a Non-embedded Report Loaded into a Cache Management Utility Class
- Binding with the ReportDocument Component
- ReportDocument Binding Scenarios that Use Crystal Services (VS.NET 2002 and 2003)
Object Models available via Upgrade
ReportClientDocument Object Model (RAS)
- Binding to Unmanaged RAS Using ReportDocument.Load() Method
- Binding to an Unmanaged RAS Server Using ReportDocument.FileName Property
- Binding to an Unmanaged RAS Server Using ReportClientDocument.Open() Method
- Binding to a Managed RAS Server Using ReportDocument.Load() Method
- Binding to a Managed RAS Server Using ReportDocument.FileName Property
- Binding to a Managed RAS server Using ReportAppFactory.OpenDocument() Method
InfoObject Object Model (BOE)
Binding to InfoObject Cast as Report
Note
These object models are described in more detail in the Architecture section.