LinqDataSourceView.ContextCreating Event

 

Occurs before an instance of the context type object is created.

Namespace:   System.Web.UI.WebControls
Assembly:  System.Web.Extensions (in System.Web.Extensions.dll)

public event EventHandler<LinqDataSourceContextEventArgs> ContextCreating

Handle this event if you want to manually construct the data context object. For more information, see the LinqDataSource.ContextCreating event.

.NET Framework
Available since 3.5
Return to top
Show: