I just found out about the CommandBuilder, and thought it sounded straight foward and easy to use. Clearly I'm still missing things. I've got a DataGridView that successfully updates dbSet table called Customers. But it's not updating to the actual database file:
...
Dim ConMain As New OleDbConnection("Provider=Microsoft.ACE.OLEDB.12.0;Data Source=C:\dummy_data.accdb")
...
Private Sub CustomerDataGridView_RowValidated(ByVal sender As Object, _
ByVal e As System.Windows.Forms.DataGridViewCellEventArgs) _
Handles CustomerDataGridView.RowValidated
Me.CustomersTableAdapter.Update(Me.Dummy_dataDataSet.Customers)
Dim CustomerAdapter As New OleDbDataAdapter("Select * From Customers", ConMain)
Dim ObjComander As New OleDbCommandBuilder(CustomerAdapter)
CustomerAdapter.Update(Dummy_dataDataSet, "Customers")
End Sub
It doesn't throw an error, and any changes I've made are kept in the memory (I can open and close the form and the changes will remain), but they are not actually written to the DB. What am I missing?