Skip to content
Advertisement

Updating DATAGRID row to save to SQL

Hi Guys I am trying to understand how to save and edited row to the database

it displays fine. I can edit its but when I click on the other tab it does not update it goes back to the original data.

Most of the code I have been going through its either out dated.. or not what I am looking for.

so here is the database enter image description here

and here is the app enter image description here

so basically if i hit tab to the next row. under the event BudgetGrid_RowEditEnding it should update the database.. but now its not.

Advertisement

Answer

Just copy below codes. I’ve created all the thing of you and tested successfully. Rather than the first way, I tried to let you go more popular way. Therefore, it took me time to adopt..

Hope this helps you !

User contributions licensed under: CC BY-SA
1 People found this is helpful
Advertisement