Gets or sets a value that specifies whether to generate an exception when an error is encountered during a row update.
Namespace:
System.Data.Common
Assembly:
System.Data (in System.Data.dll)
Visual Basic (Declaration)
Public Property ContinueUpdateOnError As Boolean
Dim instance As DataAdapter
Dim value As Boolean
value = instance.ContinueUpdateOnError
instance.ContinueUpdateOnError = value
public bool ContinueUpdateOnError { get; set; }
public:
property bool ContinueUpdateOnError {
bool get ();
void set (bool value);
}
public function get ContinueUpdateOnError () : boolean
public function set ContinueUpdateOnError (value : boolean)
Property Value
Type:
System..::.Boolean
true to continue the update without generating an exception; otherwise false. The default is false.
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.
Windows 7, Windows Vista, Windows XP SP2, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP Starter Edition, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003, Windows Server 2000 SP4, Windows Millennium Edition, Windows 98, Windows CE, Windows Mobile for Smartphone, Windows Mobile for Pocket PC, Xbox 360, Zune
The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
.NET Framework
Supported in: 3.5, 3.0, 2.0, 1.1, 1.0
.NET Compact Framework
Supported in: 3.5, 2.0, 1.0
XNA Framework
Supported in: 3.0, 2.0, 1.0
Reference