Hey im sort what new to vb and i have this problem saving from dataset to the database.
When i run the program and input my data in the text boxes, it saves it but i check in the database the record is not there, plus when i re run the program it has disappeared from the dataset.
I have followed example from msdn and my code is as follows
what im i missing????? help me please. or any advice please......Code:Try Me.Validate() Me.CustomerBindingSource.EndEdit() Me.TableAdapterManager.UpdateAll(Me.LibraryDatabaseDataSet) Me.CustomerTableAdapter.Update(Me.LibraryDatabaseDataSet.Customer) MsgBox("Update Successful") Catch ex As Exception MsgBox("Update failed") End Try
novice guy!!!!




Reply With Quote