次の方法で共有


ReportDataSource コンストラクター (String, BindingSource)

Value プロパティの BindingSource オブジェクトを含む名前付きのデータ ソースを構築します。

名前空間:  Microsoft.Reporting.WinForms
アセンブリ:  Microsoft.ReportViewer.WinForms (Microsoft.ReportViewer.WinForms.dll 内)

構文

'宣言
Public Sub New ( _
    name As String, _
    dataSourceValue As BindingSource _
)
public ReportDataSource(
    string name,
    BindingSource dataSourceValue
)
public:
ReportDataSource(
    String^ name, 
    BindingSource^ dataSourceValue
)
new : 
        name:string * 
        dataSourceValue:BindingSource -> ReportDataSource
public function ReportDataSource(
    name : String, 
    dataSourceValue : BindingSource
)

パラメーター

  • name
    型 : String
    現在のレポートのレポート定義に指定されているデータ ソースの名前。
  • dataSourceValue
    型 : BindingSource
    データを含んでいる BindingSource オブジェクト。

参照

関連項目

ReportDataSource クラス

ReportDataSource オーバーロード

Microsoft.Reporting.WinForms 名前空間