'add(menu bar) Private Sub ToolStripMenuItem6_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ToolStripMenuItem6.Click MembersBindingSource.AddNew() GendersBindingSource.AddNew() CoursesBindingSource.AddNew() FacultiesBindingSource.AddNew() CategoriesBindingSource.AddNew() LendingQueryBindingSource.AddNew() loadpic() BooksBindingSource.AddNew() AuthorsBindingSource.AddNew() PublishersBindingSource.AddNew() AmountBindingSource.AddNew() SuppliersBindingSource.AddNew() User_detailsBindingSource.AddNew() ReturnBindingSource.AddNew() 'save(menu bar) Private Sub ToolStripMenuItem7_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ToolStripMenuItem7.Click MembersBindingSource.EndEdit() MembersTableAdapter.Update(CUULibDBDataSet.members) Validate() CoursesBindingSource.EndEdit() CoursesTableAdapter.Update(CUULibDBDataSet.courses) Validate() FacultiesBindingSource.EndEdit() FacultiesTableAdapter.Update(CUULibDBDataSet.faculties) Validate() GendersBindingSource.EndEdit() GendersTableAdapter.Update(CUULibDBDataSet.Genders) Validate() CategoriesBindingSource.EndEdit() CategoriesTableAdapter.Update(CUULibDBDataSet.categories) Validate() BooksBindingSource.EndEdit() BooksTableAdapter.Update(CUULibDBDataSet.books) End Sub
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)