my output parameters are always null when i use BeginExecuteNonQuery
- by CharlesO
I have a stored procedure that returns a varchar(160) as an output parameter of a stored procedure.
Everything works fine when i use ExecuteNonQuery, i always get back the expected value.
However, once i switch to use BeginExecuteNonQuery, i get a null value for the output.
I am using connString + "Asynchronous Processing=true;" in both cases.
Sadly the BeginExecuteNonQuery is about 1.5 times faster in my case...but i really need the output parameter.
Thanks!