ReportDataSource-Konstruktor (String, BindingSource)

Erstellt eine benannte Datenquelle mit einem BindingSource-Objekt in der Value-Eigenschaft.

Namespace:  Microsoft.Reporting.WinForms
Assembly:  Microsoft.ReportViewer.WinForms (in Microsoft.ReportViewer.WinForms.dll)

Syntax

'Declaration
Public Sub New ( _
    name As String, _
    dataSourceValue As BindingSource _
)
'Usage
Dim name As String
Dim dataSourceValue As BindingSource

Dim instance As New ReportDataSource(name, dataSourceValue)
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
)

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.WinForms-Namespace