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)

<NotifyParentPropertyAttribute(True)> _
<BrowsableAttribute(False)> _
<DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Content)> _
Public ReadOnly Property DataSources As ReportDataSourceCollection
Dim instance As LocalReport
Dim value As ReportDataSourceCollection

value = instance.DataSources

/** @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