What is the true sequence to make this code run as I tried many time but I don\'t get a valid result
// the code of SQL stored procedure
set ANSI_NULLS
Did you try this one; Use the
return @result
and in c#
int resultID = Convert.ToInt32(cmd.ExecuteScalar());
Also remove next line
cmd.Parameters[""].value;
I'm unable to login any suggestions, both in case of stored procedure and codebehind can anyone provide solution to this,,,plz,,,