ReportDataSource Constructor (String, IEnumerable)

Construye un origen de datos con nombre con un objeto IEnumerable en la propiedad Value.

Espacio de nombres:  Microsoft.Reporting.WinForms
Ensamblado:  Microsoft.ReportViewer.WinForms (en Microsoft.ReportViewer.WinForms.dll)

Sintaxis

'Declaración
Public Sub New ( _
    name As String, _
    dataSourceValue As IEnumerable _
)
'Uso
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
)

Parámetros

  • name
    Tipo: System.String
    El nombre del origen de datos, tal como se especifica en la definición de informe para el informe actual.

Vea también

Referencia

ReportDataSource Clase

Sobrecarga de ReportDataSource

Espacio de nombres Microsoft.Reporting.WinForms