Style
contains the controls CSS properties
TagName
returns the elements tag name
Visible
if set to False, the control wont be visible
Width
the tables width
HtmlTableCell Control
This control represents a <td runat="server"> or <th runat="server"> tag.
Properties
Align
sets the horizontal alignment of the contents of the
cell; possible values are Left, Right, and Center
Attributes
a collection of the elements attribute names and their
values
BgColor
the background color of the cell
BorderColor
specifies the color of the borders of this cell
ColSpan
sets the number of columns this cell should occupy
Disabled
if set to True, the control will be disabled
Height
the height of the cell, in pixels
ID
contains the controls ID
InnerHtml
contains the content between the elements opening
and closing tags
InnerText
contains the text between the elements opening and
closing tags
NoWrap
True if the text does not automatically wrap in the cell;
default value is False
RowSpan
the number of rows this cell should occupy
Style
contains the controls CSS properties
656
Appendix A: Web Control Reference

Get Build Your Own ASP.NET 2.0 Web Site Using C# & VB, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.