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