Example #1
0
 private void xoaDichVu(object sender, EventArgs e)
 {
     try
     {
         int stt = int.Parse(tblSuDungDichVu.CurrentRow.Cells[0].Value.ToString());
         Console.WriteLine("STT2: " + stt);
         if (!dv.xoaDichVu(stt))
         {
             MessageBox.Show("Xóa dịch vụ thất bại, thực hiện lại...");
         }
         hienThiDichVuDaChon();
     }
     catch
     {
     }
 }