title: I'm trying to populate a multidimensional array from a datatable with no success
body: <p>I'm trying to add data to a multidimensional array but keep getting the error: "Cannot implicitly convert type 'Object[][]' to 'string[<em>,</em>]'". Dunno how to fix this. I found this on SO but their solution didn't help me: <a href="https://stackoverflow.com/questions/8932900/datatable-to-multidimensional-array">Datatable to Multidimensional Array</a></p>
  
  <p>Any help would be greatly appreciated.  </p>
  
  <pre><code>clDataTable = i_dbExec.ExecSelect(i_strQuery);
  var tableEnumerable = clDataTable.AsEnumerable().Select(row =&gt; 
  row.ItemArray).ToArray();
  string[,] o_astrLocationCodes = tableEnumerable.ToArray(); &lt;-- Error here
  </code></pre>