This class represents individual <td> (table data) and <th> (table header) elements contained in an HTML table row. The InnerHtml and InnerText properties allow you to access the content stored in an individual cell. Most other properties are used to fine-tune the appearance of a particular cell. You can set NoWrap to configure whether or not the contents in a cell will wrap and RowSpan and ColSpan to specify that a cell should span the specified number of columns or rows.
public class HtmlTableCell : HtmlContainerControl { // Public Constructors public HtmlTableCell( ); public HtmlTableCell(string tagName); // Public Instance Properties public string Align{set; get; } public string BgColor{set; get; } public string BorderColor{set; get; } public int ColSpan{set; get; } public string Height{set; get; } public bool NoWrap{set; get; } public int RowSpan{set; get; } public string VAlign{set; get; } public string Width{set; get; } // Protected Instance Methods protected override void RenderEndTag(System.Web.UI.HtmlTextWriter writer); // overrides HtmlContainerControl }