예제 #1
0
        protected void btnSaveA2_Click(object sender, EventArgs e)
        {
            string ma   = GETMaThamChieu();
            string text = txtA2.Text;
            bool   up   = cldao.UpdateA2(ma, text);

            if (up == true)
            {
                sm.sendNoiDungClaim("Report_Update", TenGDV(), text, "A2", ma);
                Response.Write("<script>alert('Updated !');</script>");
                loadAll(ma);
            }
            else
            {
                Response.Write("<script>alert('Update Fail!');</script>");
            }
        }