Condividi tramite


Classe ReportDataSource

Represents a data source for a report.

Spazio dei nomi: Microsoft.Reporting.WinForms
Assembly: Microsoft.ReportViewer.WinForms (in microsoft.reportviewer.winforms.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

For code examples, see LocalReport.

Gerarchia di ereditarietà

System.Object
  Microsoft.Reporting.WinForms.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.WinForms