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



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

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

PropertyDescription
Gets the TdCommand object associated with the event.  
Gets any errors generated by the .NET Framework data provider when the System.Data.Common.RowUpdatedEventArgs.Command was executed. (Inherited from System.Data.Common.RowUpdatedEventArgs)
Gets the number of rows changed, inserted, or deleted by execution of the SQL statement. (Inherited from System.Data.Common.RowUpdatedEventArgs)
Gets the System.Data.DataRow sent through an System.Data.Common.DbDataAdapter.Update(System.Data.DataSet). (Inherited from System.Data.Common.RowUpdatedEventArgs)
Gets the number of rows processed in a batch of updated records. (Inherited from System.Data.Common.RowUpdatedEventArgs)
Gets the type of SQL statement executed. (Inherited from System.Data.Common.RowUpdatedEventArgs)
Gets the System.Data.UpdateStatus of the System.Data.Common.RowUpdatedEventArgs.Command property. (Inherited from System.Data.Common.RowUpdatedEventArgs)
Gets the System.Data.Common.DataTableMapping sent through an System.Data.Common.DbDataAdapter.Update(System.Data.DataSet). (Inherited from System.Data.Common.RowUpdatedEventArgs)
Remarks
If UpdateBatchsize is set to 1, the RowUpdated event is raised after changes to a single DataRow are applied to the Advanced SQL Engine. RowUpdated is called for every DataRow changed in a DataTable unless ContinueUpdateOnError is set to false or arguments (TdRowUpdatingEventArgs.Status) to RowUpdating and / or RowUpdated event specifies that remaining rows will be skipped. If UpdateBatchSize is set to greater than zero, this event is fired for every batch size of changes. For detail, refer to the .NET Framework 2.0 online help
Requirements

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

See Also