共用方式為


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 協助