DAAB GetParameterValue does not return output parameter value
问题 I have a stored procedure that recives as paramter as OUTPUT paramter. The store procedure sets its value. I have the following code in C# application. But I am not getting the value in application (the output is returned as zero). What is the missing link here? CREATEPROCEDURE [dbo].aspInsertZipCode ( @CountOfUnchangedZipCode AS INT=0 OUTPUT ) AS BEGIN SET NOCOUNT ON SET @CountOfUnchangedZipCode = 13 END In the application, code is as follows DbCommand cmd = db.GetStoredProcCommand(