ReportDataSource Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
ReportDataSource()
public:
ReportDataSource();
public ReportDataSource ();
Public Sub New ()
Applies to
ReportDataSource(String)
public:
ReportDataSource(System::String ^ name);
public ReportDataSource (string name);
new Microsoft.Reporting.WebForms.ReportDataSource : string -> Microsoft.Reporting.WebForms.ReportDataSource
Public Sub New (name As String)
Parameters
- name
- String
Applies to
ReportDataSource(String, IEnumerable)
public:
ReportDataSource(System::String ^ name, System::Collections::IEnumerable ^ dataSourceValue);
public ReportDataSource (string name, System.Collections.IEnumerable dataSourceValue);
new Microsoft.Reporting.WebForms.ReportDataSource : string * System.Collections.IEnumerable -> Microsoft.Reporting.WebForms.ReportDataSource
Public Sub New (name As String, dataSourceValue As IEnumerable)
Parameters
- name
- String
- dataSourceValue
- IEnumerable
Applies to
ReportDataSource(String, DataTable)
public:
ReportDataSource(System::String ^ name, System::Data::DataTable ^ dataSourceValue);
public ReportDataSource (string name, System.Data.DataTable dataSourceValue);
new Microsoft.Reporting.WebForms.ReportDataSource : string * System.Data.DataTable -> Microsoft.Reporting.WebForms.ReportDataSource
Public Sub New (name As String, dataSourceValue As DataTable)
Parameters
- name
- String
- dataSourceValue
- DataTable
Applies to
ReportDataSource(String, Object)
public:
ReportDataSource(System::String ^ name, System::Object ^ dataSourceValue);
public ReportDataSource (string name, object dataSourceValue);
new Microsoft.Reporting.WebForms.ReportDataSource : string * obj -> Microsoft.Reporting.WebForms.ReportDataSource
Public Sub New (name As String, dataSourceValue As Object)
Parameters
- name
- String
- dataSourceValue
- Object
Applies to
ReportDataSource(String, String)
public:
ReportDataSource(System::String ^ name, System::String ^ dataSourceId);
public ReportDataSource (string name, string dataSourceId);
new Microsoft.Reporting.WebForms.ReportDataSource : string * string -> Microsoft.Reporting.WebForms.ReportDataSource
Public Sub New (name As String, dataSourceId As String)
Parameters
- name
- String
- dataSourceId
- String
Applies to
ReportDataSource(String, IDataSource)
public:
ReportDataSource(System::String ^ name, System::Web::UI::IDataSource ^ dataSourceValue);
public ReportDataSource (string name, System.Web.UI.IDataSource dataSourceValue);
new Microsoft.Reporting.WebForms.ReportDataSource : string * System.Web.UI.IDataSource -> Microsoft.Reporting.WebForms.ReportDataSource
Public Sub New (name As String, dataSourceValue As IDataSource)
Parameters
- name
- String
- dataSourceValue
- IDataSource