MySqlDataAdapter.RowUpdating
Event
Occurs during Update before a command is executed against the data source. The attempt to update is made, so the event fires.
Syntax: Visual Basic
Public Event RowUpdating As MySqlRowUpdatingEventHandler
Syntax: C#
public event MySqlRowUpdatingEventHandler RowUpdating;
Event Data
The event handler receives an argument of type MySqlRowUpdatingEventArgs containing data related to this event. The following MySqlRowUpdatingEventArgsproperties provide information specific to this event.
Property | Description |
Command | Gets or sets the MySqlCommand to execute when performing the Update. |
Errors | Gets any errors generated by the .NET Framework data provider when the Command executes. |
Row | Gets the DataRow that will be sent to the server as part of an insert, update, or delete operation. |
StatementType | Gets the type of SQL statement to execute. |
Status | Gets or sets the UpdateStatus of the Commandproperty. |
TableMapping | Gets the DataTableMapping to send through the Update. |
See Also
MySqlDataAdapter Class, MySql.Data.MySqlClient Namespace