Mohammad Ishaq

Mohammad Ishaq

  • NA
  • 55
  • 18.2k

Help to correct my code for "Save Button"

Dec 10 2014 8:07 AM

I am a new programmer in VB.I have started a project . I want to save my data in my access database through a button.The name of my access file is "EmpSystem" and the name of the table in access is "New".I have put a save button on my VB form and Write the code for it as given below.


  NewBindingSource.EndEdit()
  NewTableAdapter.Update(EmpSystemDataSet.NewDataTable)


But it gives me error.Please let me help by any experience person to correct the code.
  Below is the screen shot of my code window.