Skip to main content
.NET Framework Class Library
ControlDataBindChildren Method

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

Namespace:   System.Web.UI
Assembly:  System.Web (in System.Web.dll)
Syntax
Protected Overridable Sub DataBindChildren
protected virtual void DataBindChildren()
protected:
virtual void DataBindChildren()
abstract DataBindChildren : unit -> unit  
override DataBindChildren : unit -> unit
Remarks

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

NoteNote

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.

Version Information

.NET Framework

Supported in: 4.5, 4, 3.5, 3.0, 2.0
Platforms

Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.