/// <summary> /// This function is triggered upon clicking the update button /// </summary> private void updateButton_Click(object sender, EventArgs e) { ReadDataIntoEmployee(); empbal.UpdateBL(empdto); ClearEntriesInForm(); MessageBox.Show("Row updated"); }