Updating data in datagrid Swinger partners chat
The following figures will clarify what I have done:......
My changes and additions were not making their way into the UI display.
But when a real data-item comes in, I can't easily add the row, I have to find the first empty row to overwrite it, what is not very handy.
So someone knows a smarter/built-in way to achieve this?
I've never used Get Changes but the definition says: "Gets a copy of the Data Table that contains all changes made to it since it was loaded or Accept Changes was last called." So perhaps you have to call Accept Changes on the table first. Accept Changes(); Update Row To Database(); It still didn't update the original dataset.
I am really looking for any way to use a Data Grid View to update a SQL table.
Search for updating data in datagrid:
I want to be able to delete the rows, insert new rows, but can only update the Description column.