Поделиться через


ReportDataSource Constructor (String, BindingSource)

Constructs a named data source with a BindingSource object in the Value property.

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
)
public ReportDataSource (
    String name, 
    BindingSource dataSourceValue
)
public function ReportDataSource (
    name : String, 
    dataSourceValue : BindingSource
)

Parameters

  • name
    The name of the data source, as specified in the report definition for the current report.

See Also

Reference

ReportDataSource Class
ReportDataSource Members
Microsoft.Reporting.WinForms Namespace