Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.
Employee.vb Private Sub Employee_Load(...) Handles ... Try My.Forms.Startup.EmployeesTableAdapter.Fill(My.Forms.Startup.PfmsDataSet.Employees) Catch ex as Exception MsgBox(ex.Message) End Try End sub Public Sub ReloadEmployees() Try My.Forms.Startup.EmployeesTableAdapter.ClearBeforeFill = True My.Forms.Startup.EmployeesTableAdapter.Fill(My.Forms.Startup.pfmsDataSet.Employees) Em.EmployeeDataGridVIew.Refresh() Catch ex As Exception MsgBox(ex.Message) End Try End Sub ModifyEmployee.vb Private Sub SubmitButton_Click(...) Handles ... If SaveEmployeeData() Then ' Data is saved My.Forms.Employee.ReloadEmployees() Me.Close() End If End Sub
Add your voice to the tech community where 5M+ people just like you are talking about what matters.
Join the community of 500,000 technology professionals and ask your questions.