System.Web.UI.WebControls.CompositeDataBoundControl Class

Represents the base class for a tabular data-bound control that is composed of other server controls.

See Also: CompositeDataBoundControl Members

Syntax

public abstract class CompositeDataBoundControl : DataBoundControl, System.Web.UI.INamingContainer

Remarks

The System.Web.UI.WebControls.CompositeDataBoundControl class serves as the base class for a composite server control that binds to data from a data source. A composite server control is a control that is built from a combination of other server controls. Page developers do not use the System.Web.UI.WebControls.CompositeDataBoundControl class directly; instead, they use controls that derive from this class. Examples of composite data-bound controls include the System.Web.UI.WebControls.DetailsView, System.Web.UI.WebControls.FormView, and System.Web.UI.WebControls.GridView controls.

Classes that inherit from the System.Web.UI.WebControls.CompositeDataBoundControl control must override the CompositeDataBoundControl.CreateChildControls(IEnumerable, bool) method to create the control hierarchy. To access the child controls of a composite data-bound control, use the CompositeDataBoundControl.Controls collection.

Requirements

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