Partilhar via


Construtor ReportDataSource (String, IEnumerable)

Constructs a named data source with an IEnumerable in the Value property.

Namespace:  Microsoft.Reporting.WebForms
Assembly:  Microsoft.ReportViewer.WebForms (em Microsoft.ReportViewer.WebForms.dll)

Sintaxe

'Declaração
Public Sub New ( _
    name As String, _
    dataSourceValue As IEnumerable _
)
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: String
    The name of the data source, as specified in the report definition for the current report.
  • dataSourceValue
    Tipo: IEnumerable
    An IEnumerable object that contains the data.

Consulte também

Referência

ReportDataSource Classe

Sobrecargas ReportDataSource

Namespace Microsoft.Reporting.WebForms