Construtor ReportDataSource (String, BindingSource)
Constructs a named data source with a BindingSource object in the Value property.
Namespace: Microsoft.Reporting.WinForms
Assembly: Microsoft.ReportViewer.WinForms (em Microsoft.ReportViewer.WinForms.dll)
Sintaxe
'Declaração
Public Sub New ( _
name As String, _
dataSourceValue As BindingSource _
)
public ReportDataSource(
string name,
BindingSource dataSourceValue
)
public:
ReportDataSource(
String^ name,
BindingSource^ dataSourceValue
)
new :
name:string *
dataSourceValue:BindingSource -> ReportDataSource
public function ReportDataSource(
name : String,
dataSourceValue : BindingSource
)
Parâmetros
- name
Tipo: String
The name of the data source, as specified in the report definition for the current report.
- dataSourceValue
Tipo: BindingSource
A BindingSource object that contains the data.