示例#1
0
        protected void BindEditBindProduct()
        {
            BundlingInfo bundlingInfo = PromoteHelper.GetBundlingInfo(this.bundlingid);

            this.txtBindName.Text         = bundlingInfo.Name;
            this.txtNum.Text              = bundlingInfo.Num.ToString();
            this.txtSalePrice.Text        = bundlingInfo.Price.ToString("F");
            this.radstock.SelectedValue   = System.Convert.ToBoolean(bundlingInfo.SaleStatus);
            this.txtShortDescription.Text = bundlingInfo.ShortDescription;
            this.Rpbinditems.DataSource   = bundlingInfo.BundlingItemInfos;
            this.Rpbinditems.DataBind();
        }