/// <summary> ///This function is called when the update button is clicked on the form and passes the DTO object to the bussiness layer. /// </summary> private void bttn_update_Click(object sender, EventArgs e) { EmployeeBAL employeebalobj = new EmployeeBAL(); employeebalobj.update(add_to_DTOobj()); MessageBox.Show("updated successfully"); }