private int Delete(string strMaDM)
 {
     int kq = 0;
     clsDM_DichVu obj = new clsDM_DichVu();
     if (MessageBox.Show("Bạn muốn xóa?", "Thông báo", MessageBoxButtons.YesNo) == DialogResult.Yes)
     {
         kq = obj.Delete(strMaDM);
     }
     return kq;
 }
        private int Delete()
        {
            int kq = 0;
            clsDM_DichVu obj = new clsDM_DichVu();
            if (MessageBox.Show("Bạn muốn xóa?", "Thông báo", MessageBoxButtons.YesNo) == DialogResult.Yes)
            {
                if (grdMaster.SelectedRows.Count != 0)
                {
                    DataGridViewRow row = this.grdMaster.SelectedRows[0];
                    string MaDichVu = row.Cells["MaDichVu"].Value.ToString();
                    kq = obj.Delete(MaDichVu);
                    if (kq > 0)
                    {
                        LoadGridView();
                    }
                }

            }
            return kq;
        }