title: linq with dataTable in c#
body: <p>I am using datatable on which I want to use Linq. but as i am new to linq i dont know how it uses.
  I google it I got lots of information which is not sufficient like. If I am using datatable and i got info like :</p>
  
  <pre><code>DataRow r = from dr in ds.Tables["Customers"].AsEnumerable()
  
  where dr.Field&lt;Guid&gt;("customerid").ToString() = row[2].ToString()
  
  select dr;    
  
  dt.ImportRow(r);
  </code></pre>
  
  <p>and I have lots of queries like what is "dr".
  dr.fields?,
  ".AsEnumerable()" is not present at my side.</p>
  
  <p>Even this code also doesnt work:</p>
  
  <pre><code>IEnumerable&lt;DataRow&gt; r = from dr in ds.Tables["Customers"].Select().Where(x =&gt; x.Field&lt;Guid&gt;("customerid").ToString() == row[2].ToString())
                          select dr;
  </code></pre>
  
  <p>So can anyone please give me link on which i got all information from beggining on linq.</p>