Прочитај на енглеском Уреди

Делите путем


LinqDataSourceView.ContextCreating Event

Definition

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

C#
public event EventHandler<System.Web.UI.WebControls.LinqDataSourceContextEventArgs> ContextCreating;

Event Type

Remarks

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

Applies to

Производ Верзије
.NET Framework 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1