Condividi tramite


Costruttore ReportDataSource (String, IEnumerable)

Crea un'origine dati denominata con un oggetto IEnumerable nella proprietà Value.

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

Dim instance As New ReportDataSource(name, dataSourceValue)
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: 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.WinForms