title: from array to datatable
body: <p>ok i now it supose to be simple y have a multidimensional array, I try to fill my data table using the following code:</p>
  
  <pre><code>System.Data.DataTable _myDataTable =new System.Data.DataTable();    
  for (int j=0; j &lt; ele; j++)
  {       
          _myDataTable.Columns.Add();   
  
          for (int i = 0; i &lt; caract+1; i++)
          {
              row[i]=(datar[j,i].ToString());
  
          }
          _myDataTable.Rows.Add(row);
  
  }
  </code></pre>
  
  <p>My array name is <code>datar</code> but the error I receive:</p>
  
  <pre><code> System.IndexOutOfRangeException: cant find column 1.
  </code></pre>
  
  <p>What am I doing wrong? By the way: I am using C#, asp.net, NOT Visual Studio.</p>