Refresh one row in a datatable from sql using ado.net

  • Thread starter Thread starter Debra has a question
  • Start date Start date
D

Debra has a question

Guest
After I edit, delete, or add a new row in sql I would like just that row to update in the datatable on the form. for example if I have a datatable with all the products and its loaded in a datagridview and when I click the datagridview and press edit an edit form fills up with textboxes and when I press save it updates in sql I now want just that updated row to update the datatable which in turn will update the datagridview. How can I do this?

Also what do you hold of reusing the same table over a few forms in visual studio?


Debra has a question

Continue reading...
 
Back
Top