I am having issues trying to get the syntax correct for my C# 2008 asp.net code. I need to get a return value (Select @@Identity) from my stored procedure
My C# code
The direction is set on a SqlParameter object, for your example it should be something like:
SqlParameter
cmdHeader.Parameters["@Postal_Code"].Direction = ParameterDirection.ReturnValue;