Costruttore ReportDataSource (String, IEnumerable)
Crea un'origine dati denominata con un oggetto IEnumerable nella proprietà Value.
Spazio dei nomi: Microsoft.Reporting.WebForms
Assembly: Microsoft.ReportViewer.WebForms (in Microsoft.ReportViewer.WebForms.dll)
Sintassi
'Dichiarazione
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
)
Parametri
- name
Tipo: String
Nome dell'origine dati, come specificato nella definizione del rapporto per il rapporto corrente.
- dataSourceValue
Tipo: IEnumerable
Oggetto IEnumerable contenente i dati.