共用方式為


EntityDataSourceView.ContextCreated 事件

定義

發生於 EntityDataSourceView 完成建立用來將資料繫結至控制項的 ObjectContext 時。

public:
 event EventHandler<System::Web::UI::WebControls::EntityDataSourceContextCreatedEventArgs ^> ^ ContextCreated;
public event EventHandler<System.Web.UI.WebControls.EntityDataSourceContextCreatedEventArgs> ContextCreated;
member this.ContextCreated : EventHandler<System.Web.UI.WebControls.EntityDataSourceContextCreatedEventArgs> 
Public Custom Event ContextCreated As EventHandler(Of EntityDataSourceContextCreatedEventArgs) 

事件類型

EventHandler<EntityDataSourceContextCreatedEventArgs>

適用於