Share via


Classe ReportDataSource

Represents a data source for a report.

Spazio dei nomi: Microsoft.Reporting.WebForms
Assembly: Microsoft.ReportViewer.WebForms (in microsoft.reportviewer.webforms.dll)

Sintassi

Osservazioni

The ReportDataSource class is used with the DataSources collection of a LocalReport object to add one or more required data sources to a local report. This is necessary when programmatically adding a report to the ReportViewer control.

Esempio

Please see LocalReport for code examples.

Gerarchia di ereditarietà

System.Object
  Microsoft.Reporting.WebForms.ReportDataSource

Protezione dei thread

Tutti i membri statici pubblici (Shared in Visual Basic) di questo tipo sono affidabili. Non è invece garantita la sicurezza dei membri dell'istanza.

Vedere anche

Riferimento

Membri ReportDataSource
Spazio dei nomi Microsoft.Reporting.WebForms