Occurs when an external data-parsing or validation operation throws an exception, or when an attempt to commit data to a data source fails.
Public Event DataError As DataErrorEventHandlerr
The following parameters are available:
|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.|
The DataError event enables you to handle exceptions thrown in code that is called by the control during data processing operations.