LocalReport.DataSources Property

 

Gets a collection of data sources used by the report.

Namespace:   Microsoft.Reporting.WinForms
Assembly:  Microsoft.ReportViewer.WinForms (in Microsoft.ReportViewer.WinForms.dll)

Syntax

[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

Property Value

Type: Microsoft.Reporting.WinForms.ReportDataSourceCollection

A read-only ReportDataSourceCollection object.

Remarks

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

See Also

LocalReport Class
Microsoft.Reporting.WinForms Namespace

Return to top