ContinueUpdateOnError Property

A value that specifies whether to generate an exception when an error is encountered during a row update.

Syntax

bool ContinueUpdateOnError

Access

Read-write

Usage

  • The default is “false.” Set this property to true to continue the update without generating an exception.

  • If ContinueUpdateOnError is “true,” no exception is thrown when an error occurs during the update of a row. The update of the row is skipped and the error information is placed in the RowError property of the row. The DataAdapter continues to update subsequent rows.

  • If ContinueUpdateOnError is “false,” an exception is thrown when an error occurs.