Ejemplo n.º 1
0
        protected void btnLuu_Click(object sender, EventArgs e)
        {
            string macongty = Session["congty"].ToString();
            string idphieu  = Session["maphieu"].ToString();
            string noidung  = CKEditorControl1.Text.ToString();

            db.ExecuteCommand("update pdna set pdmemovn=N'" + CKEditorControl1.Text.ToString() + "',mytitle=N'" + txtTieuDe.Text.Trim() + "',CFMDate0=GETDATE()  where pdno='" + idphieu + "'and  GSBH='" + macongty + "'");
            db.SuaPhieuDeNghiTT(macongty, idphieu, noidung);
            Response.Redirect("FrmView.aspx");
        }