System.Web.UI.WebControls.BaseDataList.Controls Property

Gets a System.Web.UI.ControlCollection object that contains a collection of child controls in a data listing control.

Syntax

public override System.Web.UI.ControlCollection Controls { get; }

Value

a System.Web.UI.ControlCollection

Remarks

Use the BaseDataList.Controls collection to manage the child controls contained in a data listing control. You can add controls, remove controls, or iterate through the server controls in the collection.

Requirements

Namespace: System.Web.UI.WebControls
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0