示例#1
0
        protected void btnUpdateFR_Click(object sender, EventArgs e)
        {
            string ma = Session["ThamChieu"].ToString();

            string text = txtFR.Text;
            bool   up   = cldao.UpdateCauseofLossFR(ma, text);

            if (up == true)
            {
                sm.sendNoiDungClaim("Report_Update", TenGDV(), text, "Cause Of Loss - FR", ma);
                Response.Write("<script>alert('Updated !');</script>");
                load(ma);
            }
            else
            {
                Response.Write("<script>alert('Update Fail!');</script>");
            }
        }