TableRowCollection

TableRowCollection

System.Web.UI.WebControls (system.web.dll)sealed class

This collection of TableRow objects is used by the Rows property of the Table class.

public sealed class TableRowCollection : IList, ICollection, IEnumerable {
// Public Instance Properties
   public int Count{get; }                          // implements ICollection
   public bool IsReadOnly{get; }                    // implements IList
   public bool IsSynchronized{get; }                // implements ICollection
   public object SyncRoot{get; }                    // implements ICollection
   public TableRow this[int index]{get; }
// Public Instance Methods
   public int Add(TableRow row);
   public void AddAt(int index, TableRow row);
   public void AddRange(TableRow[ ] rows);
   public void Clear( );                             // implements IList
   public void CopyTo(Array array, int index);                  // implements ICollection
   public IEnumerator GetEnumerator( );              // implements IEnumerable
   public int GetRowIndex(TableRow row);
   public void Remove(TableRow row);
   public void RemoveAt(int index);                // implements IList
}

Returned By

Table.Rows



    Part I: Introduction to ASP.NET
    Part III: Namespace Reference
    Chapter 40. The System.Web.UI.MobileControls Namespace
    Chapter 42. The System.Web.UI.WebControls Namespace