ASP.NET TableCell WrapProperty


TableCell 控件TableCell Control

Definition and Usage

The Wrap property is used to set or return whether the text in a table cell wraps.

Syntax

<asp:TableCell Wrap="True|False" runat="server">
Some content
</asp:TableCell>


Example

The following example sets the wrap property to "False":

<form runat="server">
<asp:Table id="tab1" runat="server">

<asp:TableRow>
<asp:TableCell Wrap="False">
Some Content
<asp:TableCell>
</asp:TableRow>

</asp:Table>
</form>

Show example »

TableCell 控件TableCell Control Other Extensions