Esempio n. 1
0
    protected void cmdUpdate_Click(object sender, EventArgs e)
    {
        string result = EqpManage.Update(txtEqpID.Text, ddlStatus.SelectedValue,
                                         System.Web.HttpContext.Current.Request.Cookies["userID"].Value.ToString());

        if (result == "success")
        {
            JScript.Alert("设备状态已经更新!", this);
            databind();
        }
    }