asp.net.ph

HtmlTableRowCollection Class

System.Web.UI.HtmlControls Namespace


Provides access to the collection of rows found within an HtmlTable control.

HtmlTableRowCollection 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 ) HtmlTableRow [ Get ]
public SyncRoot Object [ Get ]

Collapse   Methods

Visibility Name Parameters Return Type
public Add ( HtmlTableRow row ) Void
public Clear ( ) Void
public CopyTo ( Array array , Int32 index ) Void
public GetEnumerator ( ) IEnumerator
public Insert ( Int32 index , HtmlTableRow row ) Void
public Remove ( HtmlTableRow row ) Void
public RemoveAt ( Int32 index ) Void

Remarks

An HtmlTable control contains a Rows property that represents a collection of HtmlTableRow objects, each corresponding to a single row in the table.

Use the HtmlTableRowCollection class, exposed via the HtmlTable.Rows collection, to programmatically manage the collection of table row objects in a given table.

This class provides the properties and methods that enable programmatic acess to any or all items in the collection, using simple array notation.

myTable.Rows [ index ] 
  C# VB

This class is commonly used to dynamically add, remove, or modify the contents of a row in the HtmlTable control.

For examples illustrating use of this control, see the individual member types of this class. For syntax information, see HtmlTable in ASP.NET Syntax for HTML Controls.

See Also

HtmlTable   HtmlTableRow   HtmlTableCell   HtmlTableCellCollection 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