'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.
Property | Description |
---|---|
Command | Gets or sets the TdCommand object associated with the event. |
Errors | Gets any errors generated by the .NET Framework data provider when the System.Data.Common.RowUpdatedEventArgs.Command executes. (Inherited from System.Data.Common.RowUpdatingEventArgs) |
Row | 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) |
StatementType | Gets the type of SQL statement to execute. (Inherited from System.Data.Common.RowUpdatingEventArgs) |
Status | Gets or sets the System.Data.UpdateStatus of the System.Data.Common.RowUpdatedEventArgs.Command property. (Inherited from System.Data.Common.RowUpdatingEventArgs) |
TableMapping | 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