Пример #1
0
    protected void btn11_ClearAbnormal_Click(object sender, EventArgs e)
    {
        #region
        try
        {
            ALOModel.MaintainStAccept BCO = new ALOModel.MaintainStAccept(ConnectionDB);
            ArrayList ParameterList = new ArrayList();
            ParameterList.Add(Session["UID"].ToString());
            BCO.CLEAR_PROCESS_FLAG(ParameterList, null);

            string strJS = "alert('清除前次異常轉單狀態成功');location.href='ALO211.aspx?Code=ALO21';";
            ScriptManager.RegisterStartupScript(this, this.GetType(), "CLEARABNORMAL", strJS, true);

        }
        catch (Exception ex)
        {
            ErrorMsgLabel.Text = ex.Message;
        }


        #endregion

    }