DataControlFieldCollection::Insert Method (Int32, DataControlField^)
.NET Framework (current version)
Inserts the specified DataControlField object into the DataControlFieldCollection collection at the specified index.
Assembly: System.Web (in System.Web.dll)
Parameters
- index
-
Type:
System::Int32
The zero-based index at which the DataControlField is inserted.
- field
-
Type:
System.Web.UI.WebControls::DataControlField^
The DataControlField to insert.
| Exception | Condition |
|---|---|
| ArgumentOutOfRangeException |
.NET Framework
Available since 2.0
Available since 2.0
Show: