Dear All,
How can I get the actual error code or message when ExecuteNonQuery is executed?
We can check the status of the ExecuteNonQuery by the return value indicating
number of row affected. If an error occurred, the return value is 0, but
what is the actual error that causing it? Thanks in advance.