共用方式為


DataType Element (RDL)

Indicates the data type of the parameter.

語法

<ReportParameter> Name="...">
    ...
        <DataType>...</DataType>
     ...
</ReportParameter>

Element Characteristics

Characteristic Description

Data type and length

String

Default value

None

Cardinality

1-1: Required element that occurs once and only once.

Element Relationships

Relationship Element

Parent element

ReportParameter

Child element

None

備註

The DataType element must contain one of the following string values:

  • Boolean
  • DateTime
  • Integer
  • Float
  • String

請參閱

參考

Report Definition XML Elements

說明及資訊

取得 SQL Server 2005 協助