M
Mike P
I have a SQL Server stored procedure that is returning a 0 if the
execution was OK and 1 if not.
e.g. :
commit trans
return 0
on_error:
rollback tran
return 1
I am trying to capture this return value in my C# :
objConnection.Open();
int intResult = objCommand.ExecuteNonQuery();
objConnection.Close();
What am I doing wrong?
Any assistance would be really appreciated.
Cheers,
Mike
execution was OK and 1 if not.
e.g. :
commit trans
return 0
on_error:
rollback tran
return 1
I am trying to capture this return value in my C# :
objConnection.Open();
int intResult = objCommand.ExecuteNonQuery();
objConnection.Close();
What am I doing wrong?
Any assistance would be really appreciated.
Cheers,
Mike