Public Class Form1 Private Sub EmpDataBindingNavigatorSaveItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles EmpDataBindingNavigatorSaveItem.Click Me.Validate() Me.EmpDataBindingSource.EndEdit() Me.TableAdapterManager.UpdateAll(Me.EmplTableDataSet) End Sub Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load 'TODO: This line of code loads data into the 'EmplTableDataSet.EmpData' table. You can move, or remove it, as needed. Me.EmpDataTableAdapter.Fill(Me.EmplTableDataSet.EmpData) EmpDataBindingNavigator.Hide() End Sub Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click EmpDataBindingNavigatorSaveItem.PerformClick() End Sub Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click BindingNavigatorDeleteItem.PerformClick() End Sub End Class