다음을 통해 공유


ReportDataSource 생성자 (String, DataTable)

Value 속성의 DataTable을 사용하여 명명된 데이터 소스를 생성합니다.

네임스페이스:  Microsoft.Reporting.WebForms
어셈블리:  Microsoft.ReportViewer.WebForms(Microsoft.ReportViewer.WebForms.dll)

구문

‘선언
Public Sub New ( _
    name As String, _
    dataSourceValue As DataTable _
)
‘사용 방법
Dim name As String
Dim dataSourceValue As DataTable

Dim instance As New ReportDataSource(name, dataSourceValue)
public ReportDataSource(
    string name,
    DataTable dataSourceValue
)
public:
ReportDataSource(
    String^ name, 
    DataTable^ dataSourceValue
)
new : 
        name:string * 
        dataSourceValue:DataTable -> ReportDataSource
public function ReportDataSource(
    name : String, 
    dataSourceValue : DataTable
)

매개 변수

  • name
    유형: System.String
    현재 보고서에 대한 보고서 정의에 지정된 데이터 소스의 이름입니다.

참고 항목

참조

ReportDataSource 클래스

ReportDataSource 오버로드

Microsoft.Reporting.WebForms 네임스페이스