Represents a row in a System.Web.UI.WebControls.Table control.
See Also: TableRow Members
In this topic:
The System.Web.UI.WebControls.TableRow class represents a row in a System.Web.UI.WebControls.Table control.
This class allows you to control how the contents of the row are displayed. The alignment of the contents in the row are specified by setting the TableRow.HorizontalAlign and TableRow.VerticalAlign properties.
You can programmatically manage the cells in the row by using the TableRow.Cells collection. The TableRow.Cells collection is a collection of System.Web.UI.WebControls.TableCell objects that represent the cells in the row.
The System.Web.UI.WebControls.TableCell control can be used to display user input, which might include malicious client script. Check any information that is sent from a client for executable script, SQL statements, or other code before displaying it in your application. ASP.NET provides an input request validation feature to block script and HTML in user input. Validation server controls are also provided to assess user input. For more information, see Validation ASP.NET Controls.
Example
<asp:TableRow AccessKey="string" BackColor="color name|#dddddd" BorderColor="color name|#dddddd" BorderStyle="