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 data source ID.
Namespace: Microsoft.Reporting.WebForms
Assembly: Microsoft.ReportViewer.WebForms (in microsoft.reportviewer.webforms.dll)
Syntax
'Declaration
Public Sub New ( _
    name As String, _
    dataSourceId As String _
)
'Usage
Dim name As String
Dim dataSourceId As String
Dim instance As New ReportDataSource(name, dataSourceId)
public ReportDataSource (
    string name,
    string dataSourceId
)
public:
ReportDataSource (
    String^ name, 
    String^ dataSourceId
)
public ReportDataSource (
    String name, 
    String dataSourceId
)
public function ReportDataSource (
    name : String, 
    dataSourceId : String
)
Parameters
- name
 The name of the data source
- dataSourceId
 The ID of the data source.
See Also
Reference
ReportDataSource Class
ReportDataSource Members
Microsoft.Reporting.WebForms Namespace