protected void btnSua_Click(object sender, EventArgs e) { s = LayDuLieuTuForm(); bool result = cn.UpdateSach(s); 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) { s = LayDuLieuTuForm(); bool result = cn.UpdateSach(s); if (result) { lblThongBao.Text = "Cập nhập thành công"; DoDuLieuVaoGridView(); } else { lblThongBao.Text = "Có lỗi"; } }