Nota:
El acceso a esta página requiere autorización. Puede intentar iniciar sesión o cambiar directorios.
El acceso a esta página requiere autorización. Puede intentar cambiar los directorios.
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.
- dataSourceValue
Tipo: System.Data.DataTable
Objeto DataTable que contiene los datos.