Control.DataBindChildren Method

Definition

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

C#
protected virtual void 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

Product Versions
.NET Framework 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

See also