ExecuteNonQuery returns what int value
asp.net, c#, sql
Solution
`ExecuteNonQuery` returns the number of rows affected.
For UPDATE, INSERT, and DELETE statements, the return value is the number of rows affected by the command.
Problem
What values `ExecuteNonQuery` returns if `update`, `insert`, `delete` are success, at the same time when they were failed?