title: Select multiple rows & colums in datatable where value occurs more than once
body: <p>I have a table like the picture below:</p>
  
  <p><img src="https://i.stack.imgur.com/S1PYe.png" alt="enter image description here"></p>
  
  <p>I am trying to return a result that will return all rows (and columns) where product codes are the same</p>
  
  <p>I have not really used linq before and have playing around with some group by clauses but havent gotten really anywhere, except returning the each individual part code</p>
  
  <pre><code>var GetProductsRows = from DataRow dr in table.Rows
      group dr by dr.Field&lt;string&gt;("Product Code") into g
      select g;
  </code></pre>
  
  <p>Somehow I think I am treading water a little out of my depth</p>