MySqlDataAdapter.RowUpdated Event


Occurs during Update after a command is executed against the data source. The attempt to update is made, so the event fires.

Syntax: Visual Basic

Public Event RowUpdated As MySqlRowUpdatedEventHandler

Syntax: C#

public event MySqlRowUpdatedEventHandler RowUpdated;

Event Data

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

Property Description
Command Gets or sets the MySqlCommand executed when Update is called.
Errors Gets any errors generated by the .NET Framework data provider when the Commandwas executed.
RecordsAffected Gets the number of rows changed, inserted, or deleted by execution of the SQL statement.
Row Gets the DataRowsent through an Update.
RowCount Gets the number of rows processed in a batch of updated records.
StatementType Gets the type of SQL statement executed.
Status Gets the UpdateStatus of the Commandproperty.
TableMapping Gets the DataTableMappingsent through an Update.

See Also

MySqlDataAdapter Class, MySql.Data.MySqlClient Namespace

Retornar