Executes this command on the associated
public override int ExecuteNonQuery()
The number of rows affected.
For UPDATE, INSERT, and DELETE statements, the return value is the number of rows affected by the command. For stored procedures, the return value is the number of rows affected by the last statement in the stored procedure, or zero if the last statement is a SELECT. For all other types of statements, the return value is -1.
- class MySqlCommand
- namespace MySqlConnector
- assembly MySqlConnector