hi,
I am currently working in C# with set of stored procedures in an MS SQL database. When I do an update in the MS SQL database there is no problem as I create an SqlTransaction and call the commit method to run the command. This works find until I need to call a stored procedure which uses both Updates and Selects, i.e. I want to have a transaction safe command but I also want to store the results of the command in a SqlDataReader after the transaction has been completed! Is there any way to do this?
Thanks in advance
Steve
I am currently working in C# with set of stored procedures in an MS SQL database. When I do an update in the MS SQL database there is no problem as I create an SqlTransaction and call the commit method to run the command. This works find until I need to call a stored procedure which uses both Updates and Selects, i.e. I want to have a transaction safe command but I also want to store the results of the command in a SqlDataReader after the transaction has been completed! Is there any way to do this?
Thanks in advance
Steve