HtmlTable Object— <table> Element

This creates a table element on a web page. Table D.30 lists the properties of the HtmlTable object, and Table D.31 lists the method.

Table D.30. Properties of the HtmlTable Object
Property Description
ID Gets or sets the ID (identifier) of the HtmlTable control.
Align Gets or sets the alignment of content within the control.
BgColor The background color of the control.
Border Gets or sets the width of the border of the control.
BorderColor Gets or sets the color of the control’s border.
CellPadding Gets or sets the cell padding.
CellSpacing Gets or sets the cell spacing.
Width Gets or sets the width of the table.
Height Gets or sets the height of the table.
Rows The rows collection belonging to the table. They ...

Get Inside ASP.NET 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.