Exemple #1
0
        //绑定数据
        private void ShowInfo()
        {

            Model.User userMod = new Model.User();
            BLL.User userBll = new BLL.User();
            Model.Products proMod = new Model.Products();
            BLL.Products proBll = new BLL.Products();
            userMod = userBll.GetModel(Convert.ToInt32(model.UserID));
            proMod = proBll.GetModel(Convert.ToInt32(model.ParentId));
            this.lbChanel.Text = model.Title;
            this.lbProducts.Text = proMod.Title;
            this.lbBak1.Text = model.Bak1;
            this.lbUser.Text = userMod.Name;
            this.ddlStatus.SelectedValue = model.Status.ToString();
            
        }