ASP.NET TableRowControls


Web Server ControlsWeb Server Control

Definition and Usage

The TableRow control is used together with the TableCell control and the Table control to create rows in a table.

Tip:The rows of a table are stored in the Rows collection of the Table control.


Properties

Property Description .NET
Cells
HorizontalAlign The horizontal alignment of the content in the table row. 1.0
TableSection The position of the TableRow object in the Table control. 2.0
VerticalAlign The vertical alignment of the content in the table row. 1.0

Web Control Standard Attributes

AccessKey, Attributes, BackColor, BorderColor, BorderStyle, BorderWidth, CssClass, Enabled, Font, EnableTheming, ForeColor, Height, IsEnabled, SkinID, Style, TabIndex, ToolTip, Width

For a full description, please visitWeb Control Standard Attributes。

Control Standard Attributes

AppRelativeTemplateSourceDirectory, BindingContainer, ClientID, Controls, EnableTheming, EnableViewState, ID, NamingContainer, Page, Parent, Site, TemplateControl, TemplateSourceDirectory, UniqueID, Visible

For a full description, please visitControl Standard Attributes。


Examples

Table
In this example, we declare two Table controls in a .aspx file.

Table 2
In this example, we declare one Table control, three TableRow controls, and two TableCell controls in a .aspx file.


Web Server ControlsWeb Server Control Other Extensions