예제 #1
0
 protected void Page_Load(object sender, EventArgs e)
 {
     if (!base.IsPostBack)
     {
         this.txtShopID.Value = this.UserModel.UserShopID.ToString();
         Chain.BLL.SysShop   bllShop   = new Chain.BLL.SysShop();
         Chain.Model.SysShop modelShop = bllShop.GetModel(this.UserModel.UserShopID);
         this.txtShopType.Value = modelShop.ShopType.ToString();
         PubFunction.BindAllianceListSelect(this.UserModel.UserShopID, this.sltAlliance, true);
         int FatherShopID = -1;
         if (this.sltAlliance.Value != "")
         {
             FatherShopID = int.Parse(this.sltAlliance.Value);
         }
         PubFunction.BindShopListSelect(this.UserModel.UserShopID, FatherShopID, this.sltShop, true);
     }
 }