title: How to imitate datanavigator control feature?
body: <p>I have a VB.Net datatable to which I'm trying to add a new row when a button is clicked</p>
  
  <p>My code is :</p>
  
  <pre><code>public sub NewButtonClicked(Sender as Object, e as eventargs) handles ButtonNew.click
      NewRow = MyDataTable.NewRow 
  end sub 
  
  public sub ConfirmButtonClicked(Sender as object, e as eventargs) handles Confirm.Click
      for i=0 to MyTextBoxesList.count-1
          NewRow(MyTextBoxesList(i).Name) = MyTextBoxesList(i).Text)
      next 
  
      MyDataTable.Rows.Add(NewRow)
  end sub 
  </code></pre>
  
  <p>The problem when I do this is that, when I click ButtonNew, the new row is created in the memory but it's not reflected in the form. Which means that the DataNavigator does not move one step and clears the bound textboxes in order to type new values unlike, clicking new row in the DataNavigator itself. </p>
  
  <p>Attached a video for comparison between "manual" action and DataNavigator action.</p>
  
  <p><a href="https://www.dropbox.com/s/di9bies5ambg10x/2013-11-21%2021h51_46.mp4" rel="nofollow">Video Comparison</a></p>
  
  <p>Does anyone know how to imitate the DataNavigator new button action ?</p>
  
  <p>Thanks.</p>