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.

適用於

另請參閱