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