Partager via


Classe ReportDataSource

Represents a data source for a report.

Espace de noms: Microsoft.Reporting.WinForms
Assembly: Microsoft.ReportViewer.WinForms (dans microsoft.reportviewer.winforms.dll)

Syntaxe

Notes

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.

Exemple

For code examples, see LocalReport.

Hiérarchie d'héritage

System.Object
  Microsoft.Reporting.WinForms.ReportDataSource

Sécurité des threads

Tous les membres publics statiques (Partagés dans Visual Basic) de ce type sont thread-safe. Il n'est pas garanti que les membres d'instance soient thread-safe.

Voir aussi

Référence

Membres ReportDataSource
Espace de noms Microsoft.Reporting.WinForms