Public Class DemoDatagrid
Private Sub DemoDatagrid_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
'TODO: This line of code loads data into the 'VisualDataSet.register' table. You can move, or remove it, as needed.
Me.RegisterTableAdapter.Fill(Me.VisualDataSet.register)
'TODO: This line of code loads data into the 'VisualDataSet.tb_employees' table. You can move, or remove it, as needed.
Me.Tb_employeesTableAdapter.Fill(Me.VisualDataSet.tb_employees)
'TODO: This line of code loads data into the 'VisualDataSet.register' table. You can move, or remove it, as needed.
Me.Tb_employeesTableAdapter.Fill(Me.VisualDataSet.tb_employees)
'TODO: This line of code loads data into the 'VisualDataSet02.register' table. You can move, or remove it, as needed.
Me.Tb_employeesTableAdapter.Fill(Me.VisualDataSet.tb_employees)
End Sub
Private Sub Tb_employeesBindingNavigatorSaveItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Tb_employeesBindingNavigatorSaveItem.Click
Me.Validate()
Me.Tb_employeesBindingSource.EndEdit()
Me.TableAdapterManager.UpdateAll(Me.VisualDataSet)
End Sub
End Class