title: Checking for a null DataRow
body: <p>How would I check for a null datetime value in a DataRow?</p>
  
  <p>The following works with a dataReader.</p>
  
  <pre><code>calEventDTO.endTime = dr.IsDBNull(9) ? null : (DateTime?) dr.GetDateTime(9);
  </code></pre>
  
  <p>What is the equivalent when checking the following DataRow?</p>
  
  <pre><code>calEventDTO.endTime = (DateTime)row["endTime"];   
  </code></pre>