protected void btnSua_Click(object sender, EventArgs e) { nxb = LayDuLieuTuForm(); bool result = cn.UpdateNhaXuatBan(nxb); if (result) { lblThongBao.Text = "Cập nhập thành công"; DoDuLieuVaoGridView(); } else { lblThongBao.Text = "Có lỗi"; } }
protected void btnSua_Click(object sender, EventArgs e) { nxb = LayDuLieuTuForm(); bool result = cn.UpdateNhaXuatBan(nxb); if (result) { lblThongBao.Text = "Cập nhập thành công"; DoDuLieuVaoGridView(); } else { lblThongBao.Text = "Có lỗi"; } }