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)

[BrowsableAttribute(false)]
public ReportDataSourceCollection DataSources { get; }

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

Return to top
Show: