public ActionResult SelfInfo(FormCollection f) { bizUsers b = new bizUsers(); string sqm = f["showSelfQM"] == null ? "1" : "0"; string aqm = f["showAllQM"] == null ? "1" : "0"; string pop = f["showPopup"] == null ? "1" : "0"; string config = "showSelfQM=" + sqm + "$$showAllQM=" + aqm + "$$showPopup=" + pop; b.UpdateInfo(UserID, CommonCache.FilterTextReplace(f["truename"].Trim()), CommonCache.FilterTextReplace(f["email"].Trim()), CommonCache.FilterTextReplace(f["remark"]), CommonCache.FilterTextReplace(f["tel"].Trim()), CommonCache.FilterTextReplace(f["address"].Trim()), config); SessionInfo modelSession = SessionGet(); modelSession.ShowAllQM = UserCommon.ShowAllQM(config); modelSession.ShowSelfQM = UserCommon.ShowSelfQM(config); modelSession.ShowPopup = UserCommon.ShowPopup(config); SessionSet(modelSession); TempData["Msg"] = "������Ϣ�ijɹ�"; return RedirectToAction("SelfInfo"); }