ASP.NET TableRow control

Definition and Usage

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

Hint:The rows of the table are stored in Table controlin the Rows collection.

Property

Property Description .NET
Cells Collection of TableCell objects, which represent the cells of the rows in the Table control.  
HorizontalAlign HorizontalAlign 1.0
TableSection Позиция объекта TableRow в контроле Table 2.0
VerticalAlign Вертикальное выравнивание содержимого строки. 1.0

Стандартные атрибуты веб контрола

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

Для полного описания посетите Стандартные атрибуты веб контрола.

Стандартные атрибуты контрола

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

Для полного описания посетитеСтандартные атрибуты контрола.

Пример

Таблица
В этом примере мы в файле .aspx объявили две таблицы.
Таблица 2
В этом примере мы в файле .aspx объявили контрол таблицы Table, три контрола TableRow и два контрола TableCell.