• 当删除时提示信息


    <ext:Button ID="UndoSubmit" runat="server" Text="确定"   EnablePostBack="false"  OnClick="UndoSubmit_Click" />

    UndoSubmit.OnClientClick = Confirm.GetShowReference("您确定要撤销本委托协议吗?", String.Empty,
    MessageBoxIcon.Question, UndoSubmit.GetPostBackEventReference(), UndoSubmit.GetPostBackEventReference("Cancel"));

    protected void UndoSubmit_Click(object sender, EventArgs e)
    {

      if (Request.Form["__EVENTARGUMENT"] != "Cancel")
      {
        int ID;string flownode;
        bool retval = Govaze.SQLServerDAL.Factory.getCHINADADAL().d_YWZC_upd_Main4(int.Parse(AID.Text), "SYSUNDO", "", DDL1.SelectedValue, getUserName(), out ID, out flownode);
        if (retval)
        { PageContext.RegisterStartupScript(ActiveWindow.GetHidePostBackReference());}
        else

        { Alert.Show("操作失败"); }
        //Govaze.SQLServerDAL.Factory.getCHINADADAL().d_YWZC_del_Main(int.Parse(AID.Text), getUserName());
      }
    }

  • 相关阅读:
    javascript 操作DOM元素样式
    javascript 对象
    javascript 事件对象
    javascript 常用尺寸属性
    团队编程项目作业3-模块开发过程
    buuctf-misc 基础加密
    buuctf-misc 你竟然赶我走
    buuctf-misc 大白
    buuctf-misc N种方法解决
    buuctf-misc二维码
  • 原文地址:https://www.cnblogs.com/sanshengshitouhua/p/14430225.html
Copyright © 2020-2023  润新知