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 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.
- dataSourceValue
Tipo: System.Collections.IEnumerable
Objeto IEnumerable que contiene los datos.