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 _
)
'Utilizzo
Dim name As String
Dim dataSourceValue As IDataSource

Dim instance As New ReportDataSource(name, dataSourceValue)
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: System.String
    Nome dell'origine dati, come specificato nella definizione del rapporto per il rapporto corrente.

Vedere anche

Riferimento

ReportDataSource Classe

Overload ReportDataSource

Spazio dei nomi Microsoft.Reporting.WebForms