Konstruktor ReportDataSource — (String, IEnumerable)
Constructs a named data source with an IEnumerable 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 IEnumerable _
)
public ReportDataSource(
string name,
IEnumerable dataSourceValue
)
public:
ReportDataSource(
String^ name,
IEnumerable^ dataSourceValue
)
new :
name:string *
dataSourceValue:IEnumerable -> ReportDataSource
public function ReportDataSource(
name : String,
dataSourceValue : IEnumerable
)
Parametry
- name
Typ: String
The name of the data source, as specified in the report definition for the current report.
- dataSourceValue
Typ: IEnumerable
An IEnumerable object that contains the data.