Esempio n. 1
0
 private void bt_Xoa_Click(object sender, EventArgs e)
 {
     if (SP.Check_MaSP(dataGridView1.CurrentRow.Cells[0].Value.ToString()) == 0)
     {
         SP.delete(dataGridView1.CurrentRow.Cells[0].Value.ToString());
     }
     else
     {
         MessageBox.Show("Không Thể Xóa Người Quản Lý Này!!!!!");
     }
     load();
 }