TableRow.Cells Property

Gets a collection of TableCell objects that represent the cells of a row in a Table control.

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

public:
virtual property TableCellCollection^ Cells {
	TableCellCollection^ get ();
}
/** @property */
public TableCellCollection get_Cells ()

public function get Cells () : TableCellCollection

Property Value

A TableCellCollection object that represents a collection of cells from a row of a Table control.

Use this property to programmatically control a collection of TableCell objects that represent the cells from a row of the Table control. You can programmatically add, insert, or remove a TableCell object from the collection.

NoteNote

This property is only used when building Table controls programmatically. At design time, this property is set by declaring TableCell objects.

This following code example creates a table, programmatically adds elements to the table, and displays the table on the Web page.

No code example is currently available or this language may not be supported.

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, 1.1, 1.0

Community Additions

ADD
Show: