2.50.22 Matrix.DataSetName

The Matrix.DataSetName element specifies the name of the DataSet to use to bind data to a Matrix. 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 contained within the Report.

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

  • The matrix is not contained within another data region.

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

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

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

Parent elements

Matrix

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

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