admin 12/3/2014 | |
This should be possible and you can find the sample code at http://stackoverflow.com/questions/3433694/how-to-run-the-stored-procedure-that-has-output-parameter-from-c |
T
|
Tim author 12/6/2014 |
Thanks for the reply and link. I actually figured out how to do what I needed and it was pretty straight forward. I am using MSSQL 2008 and this is what I did in ASPRunner: string sql = "DECLARE @return_value int EXEC @return_value = MyStoredProc " + values["PassValue"].ToString() + " SELECT 'return' = @return_value";
XSession.Session["ReturnNum"] = data["return"];
|