title: Linq DataTable and Take Method
body: <p>I have the following use of Linq from a datatable:</p>
  
  <pre><code>  var query = dt.AsEnumerable();
  query = dt.AsEnumerable().Where(log =&gt; log.Field&lt;byte&gt;("Day") == day).Take(10);
  </code></pre>
  
  <p>The following error:</p>
  
  <blockquote>
    <p>Cannot implicitly convert type
    <code>'System.Collections.Generic.IEnumerable&lt;System.Data.DataRow&gt;'</code> to
    <code>'System.Data.EnumerableRowCollection&lt;System.Data.DataRow&gt;'</code>. An
    explicit conversion exists (are you missing a cast?)</p>
  </blockquote>
  
  <p>I have tried take(10) - Please can you advise? </p>