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 an IDataSource in the Value property.
Namespace: Microsoft.Reporting.WebForms
Assembly: Microsoft.ReportViewer.WebForms (in microsoft.reportviewer.webforms.dll)
Syntax
'Declaration
Public Sub New ( _
    name As String, _
    dataSourceValue As IDataSource _
)
'Usage
Dim name As String
Dim dataSourceValue As IDataSource
Dim instance As New ReportDataSource(name, dataSourceValue)
public ReportDataSource (
    string name,
    IDataSource dataSourceValue
)
public:
ReportDataSource (
    String^ name, 
    IDataSource^ dataSourceValue
)
public ReportDataSource (
    String name, 
    IDataSource dataSourceValue
)
public function ReportDataSource (
    name : String, 
    dataSourceValue : IDataSource
)
Parameters
- name
 The name of the data source, as specified in the report definition for the current report.
- dataSourceValue
 An IDataSource object that contains the data.
See Also
Reference
ReportDataSource Class
ReportDataSource Members
Microsoft.Reporting.WebForms Namespace