title: Linq on DataTable: select specific column into datatable, not whole table
body: <p>I'm running a LINQ query on a <code>datatable</code> in c#.</p>
  
  <p>I want to select specific columns rather than the whole row and enter the result into a <code>datatable</code>. How can i do that??</p>
  
  <p>My Code:</p>
  
  <pre><code>public DataTable getConversions(string c_to, string p_to)
  {
      var query = from r in matrix.AsEnumerable()
                  where r.Field&lt;string&gt;("c_to") == c_to &amp;&amp;
                        r.Field&lt;string&gt;("p_to") == p_to
                  select r;
  
      DataTable conversions = query.CopyToDataTable();
  </code></pre>