System.Web.UI.WebControls.CompositeControl.DataBind Method

Binds a data source to the System.Web.UI.WebControls.CompositeControl and all its child controls.

Syntax

public override void DataBind ()

Remarks

The CompositeControl.DataBind method binds a data source to the System.Web.UI.WebControls.CompositeControl control and all its child controls. This CompositeControl.DataBind method overrides its base implementation to verify that all child controls have been created prior to binding them to a data source.

Requirements

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