protected void Page_Load(object sender, EventArgs e) { if (bll.IsLogin) { currentUserInfo = DataLoadTool.GetCurrUserModel(); currentWebSiteInfo = bll.GetWebsiteInfoModel(); } else { Response.Redirect(string.Format("/App/Cation/Wap/Login.aspx?redirecturl={0}", Request.FilePath)); } foreach (var item in bll.GetDeliveryList()) { sbDelivery.AppendFormat("<option value=\"{0}\">{1}</option>", item.AutoId, item.DeliveryName); } foreach (var item in bll.GetPaymentTypeList()) { sbPaymentType.AppendFormat("<option value=\"{0}\">{1}</option>", item.AutoId, item.PaymentTypeName); } }