protected void btnUpdateIR_Click(object sender, EventArgs e) { string ma = Session["ThamChieu"].ToString(); string text = txtIR.Text; bool up = cldao.UpdateC3(ma, text); if (up == true) { sm.sendNoiDungClaim("Report_Update", TenGDV(), text, "Cause Of Loss - IR", ma); Response.Write("<script>alert('Updated !');</script>"); load(ma); } else { Response.Write("<script>alert('Update Fail!');</script>"); } }
protected void btnUpdateK_Click(object sender, EventArgs e) { string ma = Session["ThamChieu"].ToString(); string text = txtCircum.Text; bool up = cldao.UpdateK(ma, text); if (up == true) { sm.sendNoiDungClaim("Claim_Handling", TenGDV(), text, "Claim Handling Summary", ma); Response.Write("<script>alert('Updated !');</script>"); load(ma); } else { Response.Write("<script>alert('Update Fail!');</script>"); } }
protected void btnSaveA1_Click(object sender, EventArgs e) { string ma = GETMaThamChieu(); string text = txtA1.Text; bool up = cldao.UpdateA1(ma, text); if (up == true) { sm.sendNoiDungClaim("Report_Update", TenGDV(), text, "A1", ma); Response.Write("<script>alert('Updated !');</script>"); loadAll(ma); } else { Response.Write("<script>alert('Update Fail!');</script>"); } }