2.69.22 Table.DataSetName

Applies to RDL 2003/10 and RDL 2005/01

The Table.DataSetName element specifies the name of the DataSet to use to bind data to a Table. This element is optional. If this element is present, its value MUST be a case-sensitive CLS-compliant identifier [UTR15] that is the value of the Name attribute of a DataSet element contained within the Report.

This element MUST be specified if both of the following statements are true:

  • The table is not contained within another data region.

  • There is more than one dataset specified for the report.

This element is ignored for a table that is contained within another data region. A table MUST NOT be specified in a report if there is no DataSet element specified in the containing report. If this element is not present, its value is interpreted as the value of the DataSetName of the first ancestor data region the table is contained within, or the name of the single DataSet specified for the report.

Following is the parent element of the Table.DataSetName element.

Parent elements

Table

The following is the XML Schema definition of the Table.DataSetName element.

 <xsd:element name="DataSetName" type="xsd:string" minOccurs="0" />