ReportDataSource Constructor (String, IEnumerable)
Constructs a named data source with an IEnumerable object in the Value property.
Namespace: Microsoft.Reporting.WinForms
Assembly: Microsoft.ReportViewer.WinForms (in Microsoft.ReportViewer.WinForms.dll)
Syntax
public ReportDataSource(
string name,
IEnumerable dataSourceValue
)
public:
ReportDataSource(
String^ name,
IEnumerable^ dataSourceValue
)
new :
name:string *
dataSourceValue:IEnumerable -> ReportDataSource
Public Sub New (
name As String,
dataSourceValue As IEnumerable
)
Parameters
name
Type: System.StringThe name of the data source, as specified in the report definition for the current report.
dataSourceValue
Type: System.Collections.IEnumerableAn IEnumerable object that contains the data.
See Also
ReportDataSource Overload
ReportDataSource Class
Microsoft.Reporting.WinForms Namespace
Return to top