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 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.

Show:
© 2014 Microsoft