Interestingly, the values of output parameters are not available after ExcecuteReader() is called, even after all records were fetched.
To get these values it is required to either close reader (call reader.Close()) or at least call NextResult() method.
Here I will post problems I and my colleagues met and solutions we found.
Friday, June 05, 2009
Getting output parameters when executing reader in ADO.NET
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment