cool_submit.aspx.cs
上传用户:simon2hong
上传日期:2021-11-18
资源大小:16746k
文件大小:1k
- using System;
- using System.Data;
- using System.Configuration;
- using System.Collections;
- using System.Web;
- using System.Web.Security;
- using System.Web.UI;
- using System.Web.UI.WebControls;
- using System.Web.UI.WebControls.WebParts;
- using System.Web.UI.HtmlControls;
- public partial class WorkFlow_Design_cool_submit : System.Web.UI.Page
- {
- public string CONTENT = "";//内容
- public string CLOSE_FLAG = "";//关闭符号
- public string FORM_ID = "";//回去时的FormID
- /// <summary>
- /// 模板
- /// </summary>
- Model.FlowBaseFormContent MFBFC = new Model.FlowBaseFormContent();
- /// <summary>
- /// 业务
- /// </summary>
- BLL.FlowBaseFormContent BFBFC = new BLL.FlowBaseFormContent();
- protected void Page_Load(object sender, EventArgs e)
- {
- FORM_ID = Request.Form["FORM_ID"].ToString();
- CONTENT = Request.Form["CONTENT"].ToString();
- CLOSE_FLAG = Request.Form["CLOSE_FLAG"].ToString();
- MFBFC = BFBFC.GetModel(int.Parse(FORM_ID));
- MFBFC.BDNR = CONTENT.Replace(@"""",@"""").Replace("rn","").Replace("n","");
- BFBFC.Update(MFBFC);
- if (CLOSE_FLAG == "1")
- {
- // Response.Write("请您关闭");
- Response.Redirect("../FormDesignManager.aspx");
- }
- else
- { Response.Redirect("FormDesigner.aspx?id=" + FORM_ID.ToString()); }
-
- // Response.Write("返回的ID为" + FORM_ID);
- }
- }