title: DAAB GetParameterValue does not return output parameter value
body: <p>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?</p>
  
  <pre><code>CREATEPROCEDURE [dbo].aspInsertZipCode  
  (  
     @CountOfUnchangedZipCode  AS INT=0 OUTPUT  
  )  
  AS  
  BEGIN  
      SET NOCOUNT ON  
      SET @CountOfUnchangedZipCode = 13 
  END
  </code></pre>
  
  <p>In the application, code is as follows</p>
  
  <pre><code>  DbCommand cmd = db.GetStoredProcCommand("aspInsertZipCode");
    cmd.CommandTimeout = 0;
    db.AddOutParameter(cmd, "CountOfUnchangedZipCode", DbType.String, 1000);
  </code></pre>
  
  <p>The execution happens ...</p>
  
  <pre><code>  int TempUnchageZipCount = Convert.ToInt32(db.GetParameterValue(cmd, "@CountOfUnchangedZipCode"));
  </code></pre>