title: Cannot implicitly convert type 'decimal?' to 'decimal'.
body: <p>sdr is my sqldatareader and I want to check that the curPrice value which is of type decimal is null. </p>
  
  <p><code>inrec.curPrice = sdr.IsDBNull(7) ? (decimal?)null : sdr.GetDecimal(7);</code></p>
  
  <p>This is the error message I am getting:</p>
  
  <blockquote>
    <p>Cannot implicitly convert type 'decimal?' to 'decimal'. An explicit
    conversion exists (are you missing a cast?)</p>
  </blockquote>
  
  <p>Where am I going wrong, please someone tell me.</p>