asp.net.ph

TableRowCollection Class

System.Web.UI.WebControls Namespace


Encapsulates a collection of TableRow objects that represent a single row in a Table control.

TableRowCollection Class Members

Collapse   Properties

Visibility Name Value Type Accessibility
public Count Int32 [ Get ]
public IsReadOnly Boolean [ Get ]
public IsSynchronized Boolean [ Get ]
public Item ( Int32 index ) TableRow [ Get ]
public SyncRoot Object [ Get ]

Collapse   Methods

Visibility Name Parameters Return Type
public Add ( TableRow row ) Int32
public AddAt ( Int32 index , TableRow row ) Void
public AddRange ( TableRow rows ) Void
public Clear ( ) Void
public CopyTo ( Array array , Int32 index ) Void
public GetEnumerator ( ) IEnumerator
public GetRowIndex ( TableRow row ) Int32
public Remove ( TableRow row ) Void
public RemoveAt ( Int32 index ) Void

Remarks

Use the TableRowCollection class to programmatically manage a collection of TableRow objects that make up a Table control. This class is commonly used to add, remove, or loop thru the rows in a given Table.

A Table control contains a Rows property that represents a collection of TableRow objects, each representing the individual rows in the table.

Each TableRow control in turn contains a Cells property that represents a collection of TableCell objects, each representing the individual cells in the table.

To get an individual cell, you first get a TableRow object from the Rows property of a Table control, then get a TableCell object from the Cells property of the TableRow object.

See Also

Rows   TableRow   Cells   TableCell Skip Navigation Links




Home
Suggested Reading


Previous page Back to top Next page

© 2000-2010 Rey Nuñez All rights reserved.

If you have any question, comment or suggestion
about this site, please send us a note

You can help support asp.net.ph