I'm having problems updating my existing access database in vb. Whenever I exit my program, the changes made won't save. How can I correct this? This is the code I have so far...
Code:Private Sub Customer_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load 'TODO: This line of code loads data into the 'AutioEssentialsDataSet3.Customer' table. You can move, or remove it, as needed. Me.CustomerTableAdapter2.Fill(Me.AutioEssentialsDataSet3.Customer) End Sub Private Sub SaveToolStripButton_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles SaveToolStripButton.Click Me.Validate() Me.CustomerBindingSource2.EndEdit() Me.CustomerTableAdapter2.Update(Me.AutioEssentialsDataSet3.Customer) End Sub


Reply With Quote

Bookmarks