DataSet Element (RDL)

Contains information about a dataset in the report.

语法

<DataSets>
    ...
        <DataSet Name="...">
           <Fields>...</Fields>
            <Query>...</Query>
            <CaseSensitivity>...</CaseSensitivity>
           <Collation>...</Collation>
            <AccentSensitivity>...</AccentSensitivity>
           <KanatypeSensitivity>...</KanatypeSensitivity>
           <WidthSensitivity>...</WidthSensitivity>
          <Filters>...</Filters>
        </DataSet>
    ...
</DataSets>

Element Characteristics

Characteristic Description

Data type and length

None

Default value

None

Cardinality

1-n: Required element that can occur once or more than once.

Element Attributes

Attribute Type Description

Name

String

Name of the dataset. Required.

Element Relationships

Relationship Element

Parent element

DataSets

Child elements

AccentSensitivity, CaseSensitivity, Collation, Fields, Filters, KanatypeSensitivity, Query, WidthSensitivity

备注

The value of the Name attribute for the DataSet element cannot be the set to name of any existing data region or grouping in the report.

请参阅

参考

Report Definition XML Elements

帮助和信息

获取 SQL Server 2005 帮助