ASP.NET Wrap Property
Definition and Usage
The Wrap property is used to set or return whether the text of the table cell is wrapped.
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>
Example
- Set the Wrap property of TableCell to False