protected void btnUpdateIR_Click(object sender, EventArgs e) { string ma = Session["ThamChieu"].ToString(); string text = txtIR.Text; bool up = cldao.UpdateAdjustmentIR(ma, text); if (up == true) { sm.sendNoiDungClaim("Report_Update", TenGDV(), text, "Claim Adjustment - IR", ma); Response.Write("<script>alert('Updated !');</script>"); load(ma); } else { Response.Write("<script>alert('Update Fail!');</script>"); } }