Example #1
0
    protected void Button1_Click(object sender, EventArgs e)
    {
        if (Request.QueryString["tag"] != null)
        {
            if (Request.QueryString["tag"].ToString() == "1")
            {
                stat = "Tentative";
                DateTimeUpdate.Update();
                bbb = 1;
            }
            else
            {

            }
        }
        else { stat = "Request"; }
        execute_sp();
    }
Example #2
0
 /// <summary>
 /// 接口方法,触发事件,无需调用
 /// </summary>
 public void UpdateDateTime(string dateTimeStr)
 {
     DateTimeUpdate?.Invoke(this, new CIMEventArgs <string>(dateTimeStr, false));
 }