System.Web.UI.WebControls.DataControlFieldCollection.Add Method

Appends the specified System.Web.UI.WebControls.DataControlField object to the end of the collection.

Syntax

public void Add (DataControlField field)

Parameters

field
The System.Web.UI.WebControls.DataControlField to append to the collection.

Remarks

Use the DataControlFieldCollection.Add(DataControlField) method to append a System.Web.UI.WebControls.DataControlField object to the end of the collection. This implementation of the method takes the System.Web.UI.WebControls.DataControlField object specified by the field parameter and appends it to the collection.

Requirements

Namespace: System.Web.UI.WebControls
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0