LocalReport.DataSources 屬性

 

發佈時間: 2016年4月

取得報表所用的資料來源集合。

命名空間:   Microsoft.Reporting.WinForms
組件:  Microsoft.ReportViewer.WinForms (在 Microsoft.ReportViewer.WinForms.dll 中)

語法

[BrowsableAttribute(false)]
public ReportDataSourceCollection DataSources { get; }
public:
[BrowsableAttribute(false)]
property ReportDataSourceCollection^ DataSources {
    ReportDataSourceCollection^ get();
}
[<BrowsableAttribute(false)>]
member DataSources : ReportDataSourceCollection with get
<BrowsableAttribute(False)>
Public ReadOnly Property DataSources As ReportDataSourceCollection

屬性值

Type: Microsoft.Reporting.WinForms.ReportDataSourceCollection

唯讀 ReportDataSourceCollection 物件。

備註

Although the collection property is ready only, you can add or remove data sources in the returned ReportDataSourceCollection object.

請參閱

LocalReport 類別
Microsoft.Reporting.WinForms 命名空間

回到頁首