Format Element (RDL)

Contains the Microsoft .NET Framework formatting string for the item.

语法

<Style>
      ...
        <Format>...</Format>
      ...
</Style>

Element Characteristics

Characteristic Description

Data type and length

String

Default value

No formatting

Cardinality

0-1: Optional element that can occur once or not at all.

Element Relationships

Relationship Element

Parent element

Style

Child element

None

备注

The Format element must contain an expression that evaluates to a .NET Framework formatting string. For information about .NET Framework formatting strings, see "Formatting Types" in the .NET Framework SDK documentation.

Locale-dependent currency formatting (format code C) and locale-dependent date formatting are based on the language setting for the report item.

Format applies only to text box, subtotal, title, data label, and legend report items.

请参阅

参考

Report Definition XML Elements

帮助和信息

获取 SQL Server 2005 帮助