Costruttore ReportDataSource (String, IDataSource)
Crea un'origine dati denominata con un oggetto IDataSource 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 IDataSource _
)
public ReportDataSource(
string name,
IDataSource dataSourceValue
)
public:
ReportDataSource(
String^ name,
IDataSource^ dataSourceValue
)
new :
name:string *
dataSourceValue:IDataSource -> ReportDataSource
public function ReportDataSource(
name : String,
dataSourceValue : IDataSource
)
Parametri
- name
Tipo: String
Nome dell'origine dati, come specificato nella definizione del rapporto per il rapporto corrente.
- dataSourceValue
Tipo: IDataSource
Oggetto IDataSource contenente i dati.