protected void BtnUnlock_Click(object sender, EventArgs e) { if (Request.Cookies[LearnSite.Common.CookieHelp.teaCookieNname] != null) { LearnSite.BLL.Computers cbll = new LearnSite.BLL.Computers(); cbll.UnLockAll();//全体解锁 System.Threading.Thread.Sleep(500); showIpMachine(); } else { string ch = "请登录后执行操作!"; LearnSite.Common.WordProcess.Alert(ch, this.Page); } }