ReportDataSource-Konstruktor (String, IDataSource)
Erstellt eine benannte Datenquelle mit einem IDataSource-Element in der Value-Eigenschaft.
Namespace: Microsoft.Reporting.WebForms
Assembly: Microsoft.ReportViewer.WebForms (in Microsoft.ReportViewer.WebForms.dll)
Syntax
'Declaration
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
)
Parameter
- name
Typ: String
Der Name der Datenquelle, der in der Berichtsdefinition für den aktuellen Bericht angegeben ist.
- dataSourceValue
Typ: IDataSource
Ein IDataSource-Objekt, das die Daten enthält.