Table.RowControlCollection.Add Method (Control)
.NET Framework (current version)
This API supports the product infrastructure and is not intended to be used directly from your code.
Adds the specified Control object to the Table.RowControlCollection collection.
Assembly: System.Web (in System.Web.dll)
Parameters
- child
-
Type:
System.Web.UI.Control
The Control to add to the Table.RowControlCollection.
| Exception | Condition |
|---|---|
| ArgumentException | The object specified by child is not a TableRow. |
Use the Add method to add a new control to the Table.RowControlCollection collection. The specified control is added at the end of the array. The control can be only an instance of a TableRow control.
To add a control to the Table.RowControlCollection collection at a specific index location, use the AddAt method.
.NET Framework
Available since 1.1
Available since 1.1
Show: