Freigeben über


ReportDataSource-Konstruktor (String, IEnumerable)

Erstellt eine benannte Datenquelle mit einem IEnumerable-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 IEnumerable _
)
'Usage
Dim name As String
Dim dataSourceValue As IEnumerable

Dim instance As New ReportDataSource(name, dataSourceValue)
public ReportDataSource(
    string name,
    IEnumerable dataSourceValue
)
public:
ReportDataSource(
    String^ name, 
    IEnumerable^ dataSourceValue
)
new : 
        name:string * 
        dataSourceValue:IEnumerable -> ReportDataSource
public function ReportDataSource(
    name : String, 
    dataSourceValue : IEnumerable
)

Parameter

  • name
    Typ: System.String
    Der Name der Datenquelle, der in der Berichtsdefinition für den aktuellen Bericht angegeben ist.

Siehe auch

Verweis

ReportDataSource Klasse

ReportDataSource-Überladung

Microsoft.Reporting.WebForms-Namespace