DataSetName Element (Data Regions) (RDL)

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

Syntax

<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

Remarks

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.

See Also

Reference

Report Definition XML Elements

Help and Information

Getting SQL Server 2005 Assistance