共用方式為


DataBoundControl.OnCreatingModelDataSource 方法

定義

引發 CreatingModelDataSource 事件。

protected:
 virtual void OnCreatingModelDataSource(System::Web::UI::WebControls::CreatingModelDataSourceEventArgs ^ e);
protected virtual void OnCreatingModelDataSource (System.Web.UI.WebControls.CreatingModelDataSourceEventArgs e);
abstract member OnCreatingModelDataSource : System.Web.UI.WebControls.CreatingModelDataSourceEventArgs -> unit
override this.OnCreatingModelDataSource : System.Web.UI.WebControls.CreatingModelDataSourceEventArgs -> unit
Protected Overridable Sub OnCreatingModelDataSource (e As CreatingModelDataSourceEventArgs)

參數

e
CreatingModelDataSourceEventArgs

提供對所建立 ModelDataSource 物件之存取的物件。

適用於