protected void Page_Load(object sender, EventArgs e) { if(!this.Page.IsPostBack) { ShowShop.Common.PromptInfo.Popedom("008001001"); InitWebControl(); if (ChangeHope.WebPage.PageRequest.GetFormString("Option") != string.Empty && ChangeHope.WebPage.PageRequest.GetFormString("id") != "") { ShowShop.BLL.Member.MemberAccount memberBll = new ShowShop.BLL.Member.MemberAccount(); string types = Request["Option"].Trim(); string id = ChangeHope.WebPage.PageRequest.GetFormString("id"); if (types == "del") { if (ShowShop.Common.PromptInfo.Message("008001003") != "ok") { memberBll.DeleteAll(id); } else { Response.Write("no"); } } if (types == "locked") { if (ShowShop.Common.PromptInfo.Message("008001006") != "ok") { memberBll.LockAddUnLock(id,false); } else { Response.Write("no"); } } if (types == "Unlocked") { if (ShowShop.Common.PromptInfo.Message("008001006") != "ok") { memberBll.LockAddUnLock(id,true); } else { Response.Write("no"); } } Response.End(); return; } GetList(); } }