Control.DataBindChildren Control.DataBindChildren Control.DataBindChildren Control.DataBindChildren Method

定义

将数据源绑定到服务器控件的子控件。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 ()

注解

DataBindChildren使用方法可将数据源绑定到服务器控件的子控件。Use the DataBindChildren method to bind a data source to the child controls of a server control.

备注

在服务器控件上调用时,此方法不会将数据绑定到控件。When called on a server control, this method does not bind data to the control. 若要绑定服务器控件及其所有子控件,请调用DataBind方法。To bind a server control and all its child controls, call the DataBind method.

适用于

另请参阅