.NET Framework Class Library
Control..::.DataBindChildren Method

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

Namespace:  System.Web.UI
Assembly:  System.Web (in System.Web.dll)
Visual Basic (Declaration)
Protected Overridable Sub DataBindChildren
Visual Basic (Usage)
Me.DataBindChildren()
C#
protected virtual void DataBindChildren()
Visual C++
protected:
virtual void DataBindChildren()
JScript
protected function DataBindChildren()

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

3x3s2tz4.alert_note(en-us,VS.90).gifNote:

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.

Windows Vista, Windows XP SP2, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP Starter Edition, Windows Server 2003, Windows Server 2000 SP4, Windows Millennium Edition, Windows 98

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

.NET Framework

Supported in: 3.5, 3.0, 2.0
Page view tracker