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