Easy Tutorial
❮ Met Websecurity Generatepasswordresettoken Prop Webcontrol Bulletedlist Displaymode ❯

ASP.NET HtmlTableCell Control



Definition and Usage

The HtmlTableCell control is used to control <td> and <th> elements. In HTML, these elements are used to create table cells and header cells.


Properties

Property Description
Align The horizontal alignment of the cell content.
Attributes Returns all attribute names and values of the element.
BGColor The background color of the cell.
BorderColor The color of the border.
ColSpan The number of columns the cell should span.
Disabled A boolean value indicating whether the control is disabled. Default is false.
Height The height of the cell.
id The unique id of the control.
InnerHtml Sets or returns the content between the start and end tags of the HTML element. Special characters are not automatically converted to HTML entities.
InnerText Sets or returns all text between the start and end tags of the HTML element. Special characters are automatically converted to HTML entities.
Nowrap A boolean value that specifies whether the text within the control wraps.
RowSpan The number of rows the cell should span.
runat Specifies that the control is a server control. Must be set to "server".
Style Sets or returns the CSS properties applied to the control.
TagName Returns the tag name of the element.
VAlign The vertical alignment of the cell content.
Visible A boolean value indicating whether the control is visible.
Width The width of the cell.

Examples

HTMLTable

HTMLTable 2


❮ Met Websecurity Generatepasswordresettoken Prop Webcontrol Bulletedlist Displaymode ❯