title: Size property has an invalid size of 0
body: <p>I am working on a social network, one of my procedures returns a VARCHAR output.
  So this is what I wrote:</p>
  
  <pre><code>SqlParameter job1 = cmd2.Parameters.Add("@job", SqlDbType.VarChar);
  job1.Direction = ParameterDirection.Output;
  </code></pre>
  
  <p>However this error comes up:</p>
  
  <blockquote>
    <p>String[1]: the Size property has an invalid size of 0.</p>
  </blockquote>