संपादित करें

इसके माध्यम से साझा किया गया


DataAdapter.ContinueUpdateOnError Property

Definition

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

public:
 property bool ContinueUpdateOnError { bool get(); void set(bool value); };
public bool ContinueUpdateOnError { get; set; }
[System.Data.DataSysDescription("DataAdapter_ContinueUpdateOnError")]
public bool ContinueUpdateOnError { get; set; }
member this.ContinueUpdateOnError : bool with get, set
[<System.Data.DataSysDescription("DataAdapter_ContinueUpdateOnError")>]
member this.ContinueUpdateOnError : bool with get, set
Public Property ContinueUpdateOnError As Boolean

Property Value

true to continue the update without generating an exception; otherwise false. The default is false.

Attributes

Remarks

If ContinueUpdateOnError is set to 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 in error. The DataAdapter continues to update subsequent rows.

If ContinueUpdateOnError is set to false, an exception is thrown when an error occurs during the update of a row.

Applies to

See also