LocalReport.DataSources 屬性
取得報表所用的資料來源集合。
命名空間: Microsoft.Reporting.WinForms
組件: Microsoft.ReportViewer.WinForms (在 Microsoft.ReportViewer.WinForms.dll 中)
語法
'宣告
<BrowsableAttribute(False)> _
Public ReadOnly Property DataSources As ReportDataSourceCollection
[BrowsableAttribute(false)]
public ReportDataSourceCollection DataSources { get; }
[BrowsableAttribute(false)]
public:
property ReportDataSourceCollection^ DataSources {
ReportDataSourceCollection^ get ();
}
[<BrowsableAttribute(false)>]
member DataSources : ReportDataSourceCollection with get
function get DataSources () : ReportDataSourceCollection
屬性值
類型:Microsoft.Reporting.WinForms.ReportDataSourceCollection
唯讀 ReportDataSourceCollection 物件。
備註
Although the collection property is ready only, you can add or remove data sources in the returned ReportDataSourceCollection object.