Share via


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

public ReportDataSource(
    string name,
    BindingSource dataSourceValue
)
public:
ReportDataSource(
    String^ name,
    BindingSource^ dataSourceValue
)
new : 
        name:string *
        dataSourceValue:BindingSource -> ReportDataSource
Public Sub New (
    name As String,
    dataSourceValue As BindingSource
)

Parameters

  • name
    Type: System.String

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

See Also

ReportDataSource Overload
ReportDataSource Class
Microsoft.Reporting.WinForms Namespace

Return to top