Поделиться через


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