private void DeleteRow(int indexRow) { string maCanHo = gridView1.GetRowCellValue(indexRow, "Mã căn hộ").ToString().Trim(); string maDichVu = gridView1.GetRowCellValue(indexRow, "Mã dịch vụ").ToString().Trim(); context.xoaCanHoDichVu(maCanHo, maDichVu); }