ASP.NET TableRow Controls
Definition and Usage
TableRow control and control and Table TableCell controls used together to create a row in a table.
Tip: Rows collection is stored in a table row in a Table control.
Attributes
属性 | 描述 | .NET |
---|---|---|
Cells | ||
HorizontalAlign | 表格行中内容的水平对齐方式。 | 1.0 |
TableSection | Table 控件中 TableRow 对象的位置。 | 2.0 |
VerticalAlign | 表格行中内容的垂直对齐方式。 | 1.0 |
Web Control Standard Properties
AccessKey, Attributes, BackColor, BorderColor,
BorderStyle, BorderWidth, CssClass, Enabled, Font, EnableTheming,
ForeColor, Height, IsEnabled, SkinID, Style, TabIndex, ToolTip, Width
For a full description, visit the Web Control Standard Attributes .
Control Standard Properties
AppRelativeTemplateSourceDirectory, BindingContainer,
ClientID, Controls, EnableTheming, EnableViewState, ID, NamingContainer,
Page, Parent, Site, TemplateControl, TemplateSourceDirectory, UniqueID,
Visible
For a full description, go to Control Standard Attributes .
Examples
Table
In this example, we declare two Table controls in an .aspx file.
Table 2
In this example, we declare a Table control in an .aspx file, the three TableRow controls, and two TableCell controls.
Web server control