Пример #1
0
        private void btn_Xoa_Click(object sender, EventArgs e)
        {
            string ma = txtMaNhanVien.Text;

            try
            {
                qltk.XoaTK(ma);
                loaddata();
                qltk.LayThongTin(dataGridViewTaiKhoan);
                MessageBox.Show("Đã Xóa Xong");
            }
            catch
            {
                MessageBox.Show("Lỗi");
            }
        }