Knowing the type of the stored proc when invoking from C#

Posted by dotnetdev on Stack Overflow See other posts from Stack Overflow or by dotnetdev
Published on 2010-04-18T23:06:27Z Indexed on 2010/04/18 23:13 UTC
Read the original article Hit count: 167

Filed under:

I am making a windows service to be able to run operations on a sql server database (insert, edit, etc) and invoke Stored Procs.

However, is there a way for me to know the type of the SP? When invoking from C#, I need to knof if it is returning 1 value, or more, or none (so I can use executereader, scalar, etc)?

Thanks

© Stack Overflow or respective owner

Related posts about sql-server