DataBoundControl.CallingDataMethods 事件


在数据方法正被调用时发生。Occurs when data methods are being called.

 event System::Web::UI::WebControls::CallingDataMethodsEventHandler ^ CallingDataMethods;
public event System.Web.UI.WebControls.CallingDataMethodsEventHandler CallingDataMethods;
member this.CallingDataMethods : System.Web.UI.WebControls.CallingDataMethodsEventHandler 
Public Custom Event CallingDataMethods As CallingDataMethodsEventHandler 


此事件的目的是让你有机会指定要调用的数据方法与Page对象的对象不同。The purpose of this event is to give you an opportunity to specify that the data methods to be called are on a different object than the Page object.

有关如何在 Web 窗体中使用模型绑定的教程系列, 请参阅模型绑定和 Web 窗体For a tutorial series on using model binding with Web Forms, see Model Binding and Web Forms.