提供屬性,用來修改或擷取有關報表出現及作用方式的資訊。
命名空間 CrystalDecisions.Web 組件 CrystalDecisions.Web (CrystalDecisions.Web.dll)
語法
Public Class CrystalReportSource
Inherits Control
Implements IDataSource, IListSource, IComponent, IDisposable, IParserAccessor, IUrlResolutionService, IDataBindingsAccessor, IControlBuilderAccessor, IControlDesignerAccessor, IExpressionsAccessor
public class CrystalReportSource : Control, IDataSource, IListSource, IComponent, IDisposable, IParserAccessor, IUrlResolutionService, IDataBindingsAccessor, IControlBuilderAccessor, IControlDesignerAccessor, IExpressionsAccessor
註解
CrystalReportSource 類別是以為 ASP.NET 2.0 版建立標記式應用程式開發模型的 CrystalReportSource 控制項為基礎。
CrystalReportSource 類別會將 Crystal 報表封裝成 Report 物件。Report 物件包含 Crystal 報表所使用的資料來源集合。報表資料是以 DataSourceRef 物件的形式儲存在 DataSources 集合中。
CrystalReportViewer 控制項或 CrystalReportPartsViewer 控制項會呼叫 ReportSource 屬性,來顯示 CrystalReportSource 類別中的資料。
繼承階層
DataSourceControl
Object
Control
CrystalReportSource
版本資訊
Crystal Reports Basic for Visual Studio 2008
自從 Crystal Reports for Visual Studio 2005 開始支援