System.Web.UI.WebControls.DetailsViewUpdatedEventArgs.Exception Property

Gets the exception (if any) that was raised during the update operation.

Syntax

public Exception Exception { get; }

Value

Documentation for this section has not yet been entered.

Remarks

Use the DetailsViewUpdatedEventArgs.Exception property to determine the exception (if any) that was raised during the update operation. If no exceptions were raised, this property returns null.

Note:

If an exception was raised and you decide to handle the exception in the event handler, be sure to set the DetailsViewUpdatedEventArgs.ExceptionHandled property to true; otherwise, the exception is passed to the next method on the call stack for handling.

Requirements

Namespace: System.Web.UI.WebControls
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0