G
Guest
Hi,
I have a stored procedure with an output parameter.
SqlCommand cmd = new SqlCommnad("ProcName", conn);
cmd.Parameters.Add("@myparam", SqlDbType.Int);
cmd.Parameters[0].Direction = ParameterDirection.Output;
Parameter param is an output parameter, but how can I read the returned value?
Thanks,
Lubomir
I have a stored procedure with an output parameter.
SqlCommand cmd = new SqlCommnad("ProcName", conn);
cmd.Parameters.Add("@myparam", SqlDbType.Int);
cmd.Parameters[0].Direction = ParameterDirection.Output;
Parameter param is an output parameter, but how can I read the returned value?
Thanks,
Lubomir