Hi guys, I have this sql im parameter getting can not unbox as int error
returnValue = (int)cmdUpdateCreatedOn.Parameters["@intcount"].Value;
the return value is declared as int returnValue = 0 and my parameter is also declared as int, and it updates the row of strings. I tried using a different conversion syntax that doesn't seem to work.
MY SP -
ALTER Procedure [dbo].[UpdateStation] @intcount int output AS select StationaryName into
source share