Export (0) Print
Expand All

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)

public ReportDataSourceCollection DataSources { get; }
/** @property */
public ReportDataSourceCollection get_DataSources ()

public function get DataSources () : ReportDataSourceCollection

Property Value

A read-only ReportDataSourceCollection object.

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

© 2015 Microsoft