共用方式為


Table Element (RDL)

Defines a table data region to be included in the report.

語法

<ReportItems>
       ...
        <Table Name="...">
              <Style>...</Style>
              <Top>...</Top>
              <Left>...</Left>
              <ZIndex>...</ZIndex>
              <Visibility>...</Visibility>
              <ToolTip>...</ToolTip>
              <Label>...</Label>
              <Bookmark>...</Bookmark>
              <Custom>...</Custom>
              <KeepTogether>...</KeepTogether>
              <NoRows>...</NoRows>
              <DataSetName>...</DataSetName>
              <PageBreakAtStart>...</PageBreakAtStart>
              <PageBreakAtEnd>...</PageBreakAtEnd>
              <Filters>...</Filters>
              <TableColumns>...</TableColumns>
              <Header>...</Header>
              <TableGroups>...</TableGroups>
              <Details>...</DetailsRows>
              <Footer>...</Footer>
              <DetailDataElementName>...</DetailDataElementName>
              <DetailDataCollectionName>...</DetailDataCollectionName>
              <DetailDataElementOutput >...</DetailDataElementOutput>
        </Table>
       ...
</ReportItems>

Element Characteristics

Characteristic Description

Data type and length

None

Default value

None

Cardinality

0-n: Optional element that can occur more than once or not at all.

Element Attributes

Attribute Type Description

Name

String

Name of the table.

Element Relationships

Relationship Element

Parent element

ReportItems

Child elements

Bookmark, Custom, DataSetName, DetailDataCollectionName, DetailDataElementName, DetailDataElementOutput, Details, Filters, Footer, Header, KeepTogether, Label, Left, NoRows, PageBreakAtEnd, PageBreakAtStart, Style, TableColumns, TableGroups, ToolTip, Top, Visibility, ZIndex

備註

The Table element must contain at least one Details, Header, or Footer element.

請參閱

參考

Report Definition XML Elements

說明及資訊

取得 SQL Server 2005 協助