public void ProBind(int id) { ProModel p = EispProBLL.GetProByID(id); Page.Title = p.F_ProName; proname = p.F_ProName; propic = p.F_Pic; prosize = p.F_ProSize; proshuxing = p.F_Proattributes; prosizetable = p.F_ProSizeTable; procontent = p.F_ProDescription; litpic = ProTopBind(10, 10, p.F_ProClassID); GetClassName(0, p.F_ProClassID, false, ref classname); }
protected void ProBind(int id) { ProModel p = EispProBLL.GetProByID(id); this.txtTitle.Text = p.F_ProName; this.txtProid.Value = id.ToString(); this.txtGuige.Value = p.F_ProSizeTable; this.hangye.Value = p.F_Proattributes; this.txtSort.Text = p.F_Sort.ToString(); this.txtImgPath.Text = p.F_Pic; this.txtYingyong.Value = p.F_ProSize; this.content.Value = p.F_ProDescription; this.cbCommend.Checked = p.F_IsTop; this.cbProvider.Checked = p.F_IsProvider; BindDrpClass(0, "-", p.F_ProClassID, p.F_ExtClass); }