Example #1
0
    private void btnUpd_Click(object sender, System.EventArgs e)
    {
        string value = this.hdnUserCode.Value;

        System.DateTime dtBegin = System.Convert.ToDateTime(this.txtBeginDate.Text);
        System.DateTime dtEnd   = System.Convert.ToDateTime(this.txtEndDate.Text);
        if (FlowAuditAction.UpdSecondUser(base.UserCode, value, dtBegin, dtEnd))
        {
            this.JS.Text        = "alert('更新成功!');";
            this.btnOK.Visible  = false;
            this.btnUpd.Visible = true;
            return;
        }
        this.JS.Text = "alert('更新失败!');";
    }