共用方式為


DataSetName Element (Data Regions) (RDL)

Indicates which dataset to use for the dataset reference or data region.

語法

<List> <!-- or <Matrix>, <Table>, <Chart> -->
     ...
        <DataSetName>...</DataSetName>
     ...
</List> <!-- or /Matrix, /Table, /Chart -->

Element Characteristics

Characteristic Description

Data type and length

String

Default value

None

Cardinality

0-1: Optional element that can occur once or not at all.

Element Relationships

Relationship Element

Parent elements

Chart, List, Matrix, Table

Child element

None

備註

If the report contains more than one dataset, the DataSetName element is required for top-level data regions. If the report contains only one dataset, the data region uses that dataset. If the report does not contain any datasets, you cannot use data regions. DataSetName is ignored for data regions that are not contained by other data regions.

請參閱

參考

Report Definition XML Elements

說明及資訊

取得 SQL Server 2005 協助