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