예제 #1
0
        protected void btnUpdateFrief_Click(object sender, EventArgs e)
        {
            string id  = cldao.LayMaTheoTen(lblThamChieuHead.Text);
            string bri = txtbrief.Text;
            bool   up  = cldao.CapNhatBrief(id, bri);

            if (up == true)
            {
                Response.Write("<script>alert('Updated!');</script>");
                loadAll(id);
            }
        }
예제 #2
0
        protected void btnUpdatebrief_Click(object sender, EventArgs e)
        {
            string id  = Session["ThamChieu"].ToString();
            string bri = txtbrief.Text;
            bool   up  = cldao.CapNhatBrief(id, bri);

            if (up == true)
            {
                Response.Write("<script>alert('Updated!');</script>");
                loadGiaiDoan();
                loadinfo(id);
                loadGiaiDoan();
            }
        }