cool_submit.aspx.cs
上传用户:simon2hong
上传日期:2021-11-18
资源大小:16746k
文件大小:1k
源码类别:

OA系统

开发平台:

C#

  1. using System;
  2. using System.Data;
  3. using System.Configuration;
  4. using System.Collections;
  5. using System.Web;
  6. using System.Web.Security;
  7. using System.Web.UI;
  8. using System.Web.UI.WebControls;
  9. using System.Web.UI.WebControls.WebParts;
  10. using System.Web.UI.HtmlControls;
  11. public partial class WorkFlow_Design_cool_submit : System.Web.UI.Page
  12. {
  13.     public string CONTENT = "";//内容
  14.     public string CLOSE_FLAG = "";//关闭符号
  15.     public string FORM_ID = "";//回去时的FormID
  16.     /// <summary>
  17.     /// 模板
  18.     /// </summary>
  19.     Model.FlowBaseFormContent MFBFC = new Model.FlowBaseFormContent();
  20.     /// <summary>
  21.     /// 业务
  22.     /// </summary>
  23.     BLL.FlowBaseFormContent BFBFC = new BLL.FlowBaseFormContent();
  24.     protected void Page_Load(object sender, EventArgs e)
  25.     {
  26.         FORM_ID = Request.Form["FORM_ID"].ToString();
  27.         CONTENT = Request.Form["CONTENT"].ToString();
  28.         CLOSE_FLAG = Request.Form["CLOSE_FLAG"].ToString();
  29.         MFBFC = BFBFC.GetModel(int.Parse(FORM_ID));
  30.         MFBFC.BDNR = CONTENT.Replace(@"""",@"""").Replace("rn","").Replace("n","");
  31.         BFBFC.Update(MFBFC);
  32.         if (CLOSE_FLAG == "1")
  33.         {
  34.             //  Response.Write("请您关闭");
  35.             Response.Redirect("../FormDesignManager.aspx");
  36.         }
  37.         else
  38.         { Response.Redirect("FormDesigner.aspx?id=" + FORM_ID.ToString()); }
  39.      
  40.        // Response.Write("返回的ID为" + FORM_ID);
  41.     }
  42. }