次の方法で共有


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
)

パラメーター

関連項目

参照

ReportDataSource クラス

ReportDataSource オーバーロード

Microsoft.Reporting.WebForms 名前空間