예제 #1
0
        private void btnDeletePerson_Click(object sender, EventArgs e)
        {
            try
            {
                personDAL.PersonDelete(person.PersonID);

                ClearTextboxes();
                DisableDeleteButton();
                FillDataGridView();
            }
            catch (Exception ex)
            {
                MessageBox.Show(ex.Message);
            }
        }