Konstruktor ReportDataSource — (String, DataTable)
Constructs a named data source with a DataTable in the Value property.
Przestrzeń nazw: Microsoft.Reporting.WebForms
Zestaw: Microsoft.ReportViewer.WebForms (w Microsoft.ReportViewer.WebForms.dll)
Składnia
'Deklaracja
Public Sub New ( _
name As String, _
dataSourceValue As DataTable _
)
public ReportDataSource(
string name,
DataTable dataSourceValue
)
public:
ReportDataSource(
String^ name,
DataTable^ dataSourceValue
)
new :
name:string *
dataSourceValue:DataTable -> ReportDataSource
public function ReportDataSource(
name : String,
dataSourceValue : DataTable
)
Parametry
- name
Typ: String
The name of the data source, as specified in the report definition for the current report.
- dataSourceValue
Typ: DataTable
A DataTable object that contains the data.