I have a windows forms datagrid which shows one table. It is solely based on the dataset. I want to make changes on datagrid and when I click save button. All the updates should be saved to database. I am using the following code but it is not working........
The if condition is never true. It says that there are not changes in the dataset but I changed the values on datagrid ( which is based on dataset)
If ds.HasChanges(DataRowState.Modified) Then