title: How can i add the row dynamically at an exact postion in a dataset
body: <p>I write a code to add dynamical column and row to a data set but the field is added some where in my data-set so can any one tell how can I resolve this</p>
  
  <p>My code </p>
  
  <pre><code>for (int i = 0; i &lt; AchDB.Amount1.Count; i++)
      {
          DataColumn dc = new DataColumn("Amount1");
          local_ds.Tables[0].Columns.Add(dc);
          local_ds.Tables[0].Rows.Add(AchDB.Amount1[i]);
      }
  </code></pre>
  
  <p>I need as per in the image shown</p>
  
  <p><img src="https://i.stack.imgur.com/GZPT2.png" alt="enter image description here"></p>