title: LINQ Query in DataTable
body: <p>I have a <code>DataTable</code> named <code>dt</code>. It has two Columns named <code>atype_code</code> and <code>module</code>.
  Now i need to query a module based on specific <code>atype_code</code>. </p>
  
  <p>Here is the code i wrote but not working.</p>
  
  <pre><code>DataTable dt = GetATypeCodeList();
  var accType = (from myAccType in dt.AsEnumerable()
             where myAccType.Field&lt;string&gt;("atype_code") == aTypeCode.Trim()
             select myAccType.Field&lt;string&gt;("module"));
  </code></pre>
  
  <p><code>acctype</code> is a <code>System.Data.EnumerableRowCollection&lt;System.String&gt;</code>.</p>