Partilhar via


Construtor ReportDataSource (String, String)

Constructs a named data source with a data source ID.

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

Sintaxe

'Declaração
Public Sub New ( _
    name As String, _
    dataSourceId As String _
)
public ReportDataSource(
    string name,
    string dataSourceId
)
public:
ReportDataSource(
    String^ name, 
    String^ dataSourceId
)
new : 
        name:string * 
        dataSourceId:string -> ReportDataSource
public function ReportDataSource(
    name : String, 
    dataSourceId : String
)

Parâmetros

  • name
    Tipo: String
    The name of the data source.
  • dataSourceId
    Tipo: String
    The ID of the data source.

Consulte também

Referência

ReportDataSource Classe

Sobrecargas ReportDataSource

Namespace Microsoft.Reporting.WebForms