asp.net.ph

TableCellCollection Class

System.Web.UI.WebControls Namespace


Encapsulates a collection of TableHeaderCell and TableCell objects that make up a row in a Table control.

TableCellCollection 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 ) TableCell [ Get ]
public SyncRoot Object [ Get ]

Collapse   Methods

Visibility Name Parameters Return Type
public Add ( TableCell cell ) Int32
public AddAt ( Int32 index , TableCell cell ) Void
public AddRange ( TableCell cells ) Void
public Clear ( ) Void
public CopyTo ( Array array , Int32 index ) Void
public GetCellIndex ( TableCell cell ) Int32
public GetEnumerator ( ) IEnumerator
public Remove ( TableCell cell ) Void
public RemoveAt ( Int32 index ) Void

Remarks

Use the TableCellCollection class to programmatically manage a collection of TableCell objects that make up a TableRow in a Table control. This class is commonly used to add, remove, or loop thru the cells of a given row in a 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

Cells   TableCell   Rows   TableRow Skip Navigation Links




Previous page Back to top Next page

Check out related books at Amazon

© 2025 Reynald Nuñez and asp.net.ph. All rights reserved.

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