title: Splitting the datatable into multiple datatables
body: <p>These are the contents of my datatable <code>dtAllData</code>.</p>
  
  <pre><code> column_1  column_2  column_3    
   --------  --------  --------  
   sec_1       Test1        2
   sec_1       Result1      5
   sec_1       Unit1        2 
   sec_2       Test2        2           
   sec_2       Result2      2
   sec_2       Unit2        5
   sec_3       Test3        2 
   sec_3       Result3      2     
   sec_3       Unit3        2     
  </code></pre>
  
  <p>I need to split it into multiple datatables on the basis of contents in column <code>column_1</code>.</p>
  
  <p>So in this case I'm supposed to get 3 tables (one having all rows with <code>sec_1</code>, other with <code>sec_2</code> &amp; another with <code>sec_3</code>).</p>
  
  <p>I tried this:</p>
  
  <pre><code>var dtArray = dtAllData.AsEnumerable() 
                              .GroupBy(row =&gt; new
                              {
                                  column_1 = (string)row["column_1"]
                              });
  DataTable[] array = new DataTable[dtArray.Count()];
  </code></pre>
  
  <p>How can I get tables in <code>array</code> from <code>dtArray</code>?</p>