EyouSoft.BLL.PersonalCenterStructure.WorkExchange exBll = null;//工作交流BLL #endregion protected void Page_Load(object sender, EventArgs e) { exBll = new EyouSoft.BLL.PersonalCenterStructure.WorkExchange(); if (!IsPostBack) { string type = Utils.GetQueryStringValue("type"); if (type == "delchange") { DelChange();//删除工作交流 } else { DataInit();//初使数据绑定 } } }
EyouSoft.BLL.PersonalCenterStructure.WorkExchange weBll = null; //Bll实体 #endregion protected void Page_Load(object sender, EventArgs e) { if (!CheckGrant(global::Common.Enum.TravelPermission.个人中心_工作交流_交流专区栏目)) { Utils.ResponseNoPermit(global::Common.Enum.TravelPermission.个人中心_工作交流_交流专区栏目, true); } weBll = new EyouSoft.BLL.PersonalCenterStructure.WorkExchange(SiteUserInfo);//BLl实体初使化 if (!IsPostBack) { if (Utils.GetQueryStringValue("type") == "repeat") { Check();//交流回复 } else { Bind();//绑定初使数据 } } }
EyouSoft.BLL.PersonalCenterStructure.WorkExchange workbll = null; //工作交流BLL #endregion protected void Page_Load(object sender, EventArgs e) { workbll = new EyouSoft.BLL.PersonalCenterStructure.WorkExchange(); if (!IsPostBack) { type = EyouSoft.Common.Utils.GetQueryStringValue("type"); switch (type) { case "modify": Bind(); this.Title = "交流修改_工作交流_个人中心"; break; default: Add(); this.Title = "交流新增_工作交流_个人中心"; break; } } else { Save();//新增修改数据保存 } }