Well I'm not sure why it's not working.
Did you check the database and it isn't updated?
Did you get some sort of exception when running the code?
What is the error message?
The only thing that I noticed is that you are declaring a Save as a New DataSet when you don't need to.
You could just have:
- Dim Save As DataSet = BGKCDataset.GetChanges()
-
Try
-
If Not (Save Is Nothing) Then
-
BGKCCentralDatasSqlDataAdapter.Update(Save)
-
BGKCCentralDatasSqlDataAdapter.Fill(BGKCDataset.Tbl_BGKCCentralDatas)
-
Else
-
MessageBox.Show("There were no changes")
-
End If
-
Catch ex As Exception
-
MsgBox(ex.Message)
-
End Try
Please post more details about what the problem is so that we can help you more.
-Frinny