Send feedback on this topic.
Teradata.Client.Provider
RowUpdating Event



Teradata.Client.Provider Namespace > TdDataAdapter Class : RowUpdating Event
Occurs during an Update operation before a TdCommand is executed for any one DataRow.
Syntax
'Declaration
 
Public Event RowUpdating As TdRowUpdatingEventHandler
'Usage
 
Dim instance As TdDataAdapter
Dim handler As TdRowUpdatingEventHandler
 
AddHandler instance.RowUpdating, handler
public event TdRowUpdatingEventHandler RowUpdating
public:
event TdRowUpdatingEventHandler^ RowUpdating
Event Data

The event handler receives an argument of type TdRowUpdatingEventArgs containing data related to this event. The following TdRowUpdatingEventArgs properties provide information specific to this event.

PropertyDescription
Gets or sets the TdCommand object associated with the event.  
Gets any errors generated by the .NET Framework data provider when the System.Data.Common.RowUpdatedEventArgs.Command executes. (Inherited from System.Data.Common.RowUpdatingEventArgs)
Gets the System.Data.DataRow that will be sent to the server as part of an insert, update, or delete operation. (Inherited from System.Data.Common.RowUpdatingEventArgs)
Gets the type of SQL statement to execute. (Inherited from System.Data.Common.RowUpdatingEventArgs)
Gets or sets the System.Data.UpdateStatus of the System.Data.Common.RowUpdatedEventArgs.Command property. (Inherited from System.Data.Common.RowUpdatingEventArgs)
Gets the System.Data.Common.DataTableMapping to send through the System.Data.Common.DbDataAdapter.Update(System.Data.DataSet). (Inherited from System.Data.Common.RowUpdatingEventArgs)
Remarks
The RowUpdating event is raised before changes to a single DataRow are applied to the Advanced SQL Engine. RowUpdating is called for every DataRow changed in a DataTable unless ContinueUpdateOnError is set to false or argument (TdRowUpdatingEventArgs.Status) to RowUpdating and / or RowUpdated event specifies that remaining rows will be skipped.
Requirements

Target Platforms: Windows 8.1, Windows 10, Windows Server 2012 R2, Windows Server 2016, Windows Server 2019

See Also