title: How to insert NULL value in image column using C# code
body: <p>I have the following code</p>
  
  <pre><code>cmd. Parameters. AddWithValue("@Password",
      (string.IsNullOrEmpty(member.Password))
          ? (object)DBNull.Value
          : member.Password);
  cmd.Parameters.AddWithValue("@Image",
      (member.Image==null)
          ? (object)SqlDbType.Image
          : member.Image);
  </code></pre>
  
  <p>unable to add null value to image column.</p>
  
  <p>I get this error:</p>
  
  <blockquote>
    <p>Operand type clash: int is incompatible with image</p>
  </blockquote>