ReportDataSource Constructor (String, DataTable)

Construye un origen de datos con nombre con un objeto DataTable 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 DataTable _
)
'Uso
Dim name As String
Dim dataSourceValue As DataTable

Dim instance As New ReportDataSource(name, dataSourceValue)
public ReportDataSource(
    string name,
    DataTable dataSourceValue
)
public:
ReportDataSource(
    String^ name, 
    DataTable^ dataSourceValue
)
new : 
        name:string * 
        dataSourceValue:DataTable -> ReportDataSource
public function ReportDataSource(
    name : String, 
    dataSourceValue : DataTable
)

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