Share via


ReportDataSource 類別

Represents a data source for a report.

命名空間: Microsoft.Reporting.WebForms
組件: Microsoft.ReportViewer.WebForms (在 microsoft.reportviewer.webforms.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.

範例

Please see LocalReport for code examples.

繼承階層

System.Object
  Microsoft.Reporting.WebForms.ReportDataSource

執行緒安全性

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

另請參閱

參考

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