title: The source contains no DataRows
body: <pre><code>DataTable dt = ds.Tables[4].AsEnumerable()
      .Where(x =&gt; ((DateTime)x["EndDate"]).Date &gt;= DateTime.Now.Date)
      .CopyToDataTable();
  </code></pre>
  
  <p><code>ds.Tables[4]</code> has rows but it throws the exception </p>
  
  <blockquote>
    <p>"The source contains no DataRows."</p>
  </blockquote>
  
  <p>Any idea how to handle or get rid of this exception?</p>