DataError Event

Occurs when an external data-parsing or validation operation throws an exception, or when an attempt to commit data to a data source fails.

Syntax

Public Event DataError As DataErrorEventHandlerr

Applies To

Grid Object

Parameters

The following parameters are available:

Parameter Description
Row Gets the row index of the cell that the event occurs for.
Col Gets the column index of the cell that the event occurs for.
Exception Gets the exception that represents the error.
ThrowException Gets or sets a value indicating whether to throw the exception after the DataErrorEventHandler delegate is finished with it.

Remarks

The DataError event enables you to handle exceptions thrown in code that is called by the control during data processing operations.