WorkDestroy.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 Work_WorkDestroy : System.Web.UI.Page
- {
- /// <summary>
- /// 模板
- /// </summary>
- Model.FlowRun MR = new Model.FlowRun();
- /// <summary>
- /// 业务
- /// </summary>
- BLL.FlowRun BR = new BLL.FlowRun();
- protected void Page_Load(object sender, EventArgs e)
- {
- LoginLogic.MatchLoad("../", "Work_WorkDestroy");
- object objid=Request.QueryString["id"];
- if (objid != null)
- {
- MR = BR.GetModel(int.Parse(objid.ToString()));
- MR.YXZT = "销毁";
- BR.Update(MR);
- }
- Response.Redirect("MyWorkList.aspx");
- }
- }