ReportDataSource 建構函式 (String, DataTable)

 

發行︰ 2016年4月

使用 Value 屬性中的 DataTable 物件,建構具名資料來源。

命名空間:   Microsoft.Reporting.WinForms
組件:  Microsoft.ReportViewer.WinForms (於 Microsoft.ReportViewer.WinForms.dll)

語法

public ReportDataSource(
    string name,
    DataTable dataSourceValue
)
public:
ReportDataSource(
    String^ name,
    DataTable^ dataSourceValue
)
new : 
        name:string *
        dataSourceValue:DataTable -> ReportDataSource
Public Sub New (
    name As String,
    dataSourceValue As DataTable
)

參數

  • name
    Type: System.String

    資料來源的名稱,如目前報表的報表定義所指定。

另請參閱

ReportDataSource 多載
ReportDataSource 類別
Microsoft.Reporting.WinForms 命名空間

回到頁首