ReportDataSource 建構函式 (String, Type)
發行︰ 2016年4月
將 Value 屬性初始化為特定型別,建構具名資料來源。
命名空間: Microsoft.Reporting.WinForms
組件: Microsoft.ReportViewer.WinForms (於 Microsoft.ReportViewer.WinForms.dll)
語法
public ReportDataSource(
string name,
Type dataSourceValue
)
public:
ReportDataSource(
String^ name,
Type^ dataSourceValue
)
new :
name:string *
dataSourceValue:Type -> ReportDataSource
Public Sub New (
name As String,
dataSourceValue As Type
)
參數
name
Type: System.String資料來源的名稱,如目前報表的報表定義所指定。
dataSourceValue
Type: System.Type包含資料的 System.Type 物件。
另請參閱
ReportDataSource 多載
ReportDataSource 類別
Microsoft.Reporting.WinForms 命名空間
回到頁首