Właściwość LocalReport.DataSources —
Gets a collection of data sources used by the report.
Przestrzeń nazw: Microsoft.Reporting.WebForms
Zestaw: Microsoft.ReportViewer.WebForms (w Microsoft.ReportViewer.WebForms.dll)
Składnia
'Deklaracja
<WebBrowsableAttribute(True)> _
<PersistenceModeAttribute(PersistenceMode.InnerProperty)> _
Public ReadOnly Property DataSources As ReportDataSourceCollection
[WebBrowsableAttribute(true)]
[PersistenceModeAttribute(PersistenceMode.InnerProperty)]
public ReportDataSourceCollection DataSources { get; }
[WebBrowsableAttribute(true)]
[PersistenceModeAttribute(PersistenceMode::InnerProperty)]
public:
property ReportDataSourceCollection^ DataSources {
ReportDataSourceCollection^ get ();
}
[<WebBrowsableAttribute(true)>]
[<PersistenceModeAttribute(PersistenceMode.InnerProperty)>]
member DataSources : ReportDataSourceCollection with get
function get DataSources () : ReportDataSourceCollection
Wartość właściwości
Typ: Microsoft.Reporting.WebForms.ReportDataSourceCollection
A read-only ReportDataSourceCollection object.
Uwagi
Although the collection property is ready only, you can add or remove data sources in the returned ReportDataSourceCollection object.