Export (0) Print
Expand All
Expand Minimize
This topic has not yet been rated - Rate this topic

TableRowSection Enumeration

Note: This enumeration is new in the .NET Framework version 2.0.

Specifies where a TableRow object is placed in a Table control.

Namespace: System.Web.UI.WebControls
Assembly: System.Web (in system.web.dll)

public enum TableRowSection
public enum TableRowSection
public enum TableRowSection
 Member nameDescription
TableBodyThe TableRow is placed in the body of the Table
TableFooterThe TableRow is placed in the footer of the Table
TableHeaderThe TableRow is placed in the header of the Table

The TableRowSection enumeration specifies whether a TableRow object is placed in the body, header, or footer of a Table control.

The TableRowSection enumeration represents the possible values for the TableSection property of the TableRow class.

The TableRowSection enumeration enables you to build accessible Web sites using the Table control by adding the thead, tbody, and tfoot elements to the HTML that is rendered to the client. If all rows in a table are in the tbody element, the section information is not rendered. At least one row must be in a non-body element.

When using the declarative syntax, the sections must be in the following order: header, body, and then footer.

Windows 98, Windows 2000 SP4, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

.NET Framework

Supported in: 2.0
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.