title: What is the best way to deal with DBNull's
body: <p>I frequently have problems dealing with <code>DataRows</code> returned from <code>SqlDataAdapters</code>. When I try to fill in an object using code like this:</p>
  
  <pre><code>DataRow row = ds.Tables[0].Rows[0];
  string value = (string)row;
  </code></pre>
  
  <p>What is the best way to deal with <code>DBNull's</code> in this type of situation.</p>