protected void Page_Load(object sender, EventArgs e) { string masterId = Request["masterId"]; if (!string.IsNullOrWhiteSpace(masterId)) { masterInfo = new BLLJuActivity("手机访问").Get <JuMasterInfo>("MasterID = '" + masterId.ToString() + "'"); } if (masterInfo == null) { masterInfo = new JuMasterInfo(); } }
protected void Page_Load(object sender, EventArgs e) { mid = Convert.ToInt32(Request["mid"]); webAction = Request["Action"]; actionStr = webAction == "add" ? "添加" : "编辑"; if (webAction == "edit") { model = this.juActivityBll.Get <JuMasterInfo>(string.Format(" MasterID = '{0}' ", mid)); if (model == null) { Response.End(); } else { } } }
protected void Page_Load(object sender, EventArgs e) { model = bll.Get <JuMasterInfo>(string.Format("MasterID='{0}'", Comm.DataLoadTool.GetCurrUserID())); }