hi,
I am working with the development of an application which called stored procedures on a MS SQL Server. I get data from the stored procedure using a SqlDataReader, and manage the transaction handling in the stored procedure itself. No problem there. However sometimes an error is caused during the execution of the stored procedure and I want to get the value that is returned from the SQL statement RETURN. I've looked in SqlDataReader but can't see anything that supports this. Can anyone help??
Thanks in advance
Stephen
I am working with the development of an application which called stored procedures on a MS SQL Server. I get data from the stored procedure using a SqlDataReader, and manage the transaction handling in the stored procedure itself. No problem there. However sometimes an error is caused during the execution of the stored procedure and I want to get the value that is returned from the SQL statement RETURN. I've looked in SqlDataReader but can't see anything that supports this. Can anyone help??
Thanks in advance
Stephen