protected void btThemMoi_Click(object sender, EventArgs e) { if (thaotac == "chinh-sua") { if (nhomSP_BUS.SuaNhomSP(id, madm, tbTenNhomSanPham.Text, ddlDanhMuc.SelectedValue) > 0) { ltrThongBao.Text = "<div class='thongBaoTaoThanhCong' style='color:#ff006e;font-size:16px;padding-bottom:20px;text-align:center;font-weight:bold'>Đã sửa nhóm sản phẩm: " + tbTenNhomSanPham.Text + "</div>"; } } else { if (nhomSP_BUS.ThemNhomSP(tbTenNhomSanPham.Text, ddlDanhMuc.SelectedValue) > 0) { ltrThongBao.Text = "<div class='thongBaoTaoThanhCong' style='color:#ff006e;font-size:16px;padding-bottom:20px;text-align:center;font-weight:bold'>Đã thêm nhóm sản phẩm: " + tbTenNhomSanPham.Text + "</div>"; } } }