Edit

Share via


Control.DataBindChildren Method

Definition

Binds a data source to the server control's child controls.

protected:
 virtual void DataBindChildren();
protected virtual void DataBindChildren ();
abstract member DataBindChildren : unit -> unit
override this.DataBindChildren : unit -> unit
Protected Overridable Sub DataBindChildren ()

Remarks

Use the DataBindChildren method to bind a data source to the child controls of a server control.

Note

When called on a server control, this method does not bind data to the control. To bind a server control and all its child controls, call the DataBind method.

Applies to

See also