title: Binding user data on button press
body: <p>I don't know a good way to explain this but what I have so far is I created a dataset and called it <code>Database</code> and created a table in it. Then I used a bindingsource and defined <code>Database</code> as its datasource. </p>
  
  <p>Then I put the bindingsource as my datagrids data source and I put my textboxs text to the respective column in the bindingsource (e.g. textbox1 text=bindingsource - Name) so I can update my xml so I can click on the row and it fills the textboxes with the rows info and as i edit the text box it changes the data in the rows on the grid view so far an edit and update. </p>
  
  <p>But I want to be able to have the option to update or not. So instead of I type and it changes I want to be able to fill in the boxes then choose to press update or cancel like a normal edit form.</p>
  
  <p>This is my form </p>
  
  <p><a href="https://i.stack.imgur.com/QmaER.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/QmaER.png" alt="enter image description here"></a></p>
  
  <p>It's as if I could do something like </p>
  
  <pre><code>string = textboxname  
  </code></pre>
  
  <p>then when I press update it then does selected row column "name" = string</p>