Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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.StringThe name of the data source, as specified in the report definition for the current report.
dataSourceValue
Type: System.Windows.Forms.BindingSourceA BindingSource object that contains the data.
See Also
ReportDataSource Overload
ReportDataSource Class
Microsoft.Reporting.WinForms Namespace
Return to top