"William (Bill) Vaughn" <(E-Mail Removed)> wrote in message
news:uJB8Ou$(E-Mail Removed)...
> Perhaps your SP is returning more than one resultset. Try adding SET
NOCOUNT
> ON in the SP or step to the next resultset.
> I wrote an MSDN article on SPs and handling parameters--it might help too,
> but it looks like you're doing everything right.
> http://www.betav.com/msdn_magazine.htm
>
> hth
Thanks for the help guys. It turns out it all revolved around the parameter
direction. I had specified them as Output, once I changed them to
InputOutput it worked perfectly. I can now get output parameters through
ExecuteReader, ExecuteNonQuery, ExecuteScalar, etc... Now that I think about
it, I recall this being the same way in regular ADO. Is this some kind of
bug? If not, then what purpose does specifying a parameter with an Output
direction serve if you can't retrieve it?
Steve