共用方式為


ReportDataSource 類別

Represents a data source for a report.

命名空間: Microsoft.Reporting.WinForms
組件: Microsoft.ReportViewer.WinForms (在 microsoft.reportviewer.winforms.dll)

語法

備註

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.

範例

For code examples, see LocalReport.

繼承階層

System.Object
  Microsoft.Reporting.WinForms.ReportDataSource

執行緒安全性

任何公用靜態 (共用 在 Visual Basic) 此型別的成員具備執行緒安全。不保證任何執行個體成員安全執行緒。

另請參閱

參考

ReportDataSource 成員
Microsoft.Reporting.WinForms 命名空間