ReportDataSource 构造函数 (String, String)
构造带有数据源 ID 的命名数据源。
命名空间: Microsoft.Reporting.WebForms
程序集: Microsoft.ReportViewer.WebForms(在 Microsoft.ReportViewer.WebForms.dll 中)
语法
声明
Public Sub New ( _
name As String, _
dataSourceId As String _
)
用法
Dim name As String
Dim dataSourceId As String
Dim instance As New ReportDataSource(name, dataSourceId)
public ReportDataSource(
string name,
string dataSourceId
)
public:
ReportDataSource(
String^ name,
String^ dataSourceId
)
new :
name:string *
dataSourceId:string -> ReportDataSource
public function ReportDataSource(
name : String,
dataSourceId : String
)
参数
- name
类型:System.String
数据源的名称。
- dataSourceId
类型:System.String
数据源的 ID。