Costruttore ReportDataSource (String, Type)
Crea un'origine dati denominata con la proprietà Value inizializzata come un tipo particolare.
Spazio dei nomi Microsoft.Reporting.WinForms
Assembly: Microsoft.ReportViewer.WinForms (in Microsoft.ReportViewer.WinForms.dll)
Sintassi
'Dichiarazione
Public Sub New ( _
name As String, _
dataSourceValue As Type _
)
'Utilizzo
Dim name As String
Dim dataSourceValue As Type
Dim instance As New ReportDataSource(name, dataSourceValue)
public ReportDataSource(
string name,
Type dataSourceValue
)
public:
ReportDataSource(
String^ name,
Type^ dataSourceValue
)
new :
name:string *
dataSourceValue:Type -> ReportDataSource
public function ReportDataSource(
name : String,
dataSourceValue : Type
)
Parametri
- name
Tipo: System.String
Nome dell'origine dati, come specificato nella definizione del rapporto per il rapporto corrente.
- dataSourceValue
Tipo: System.Type
Oggetto System.Type contenente i dati.