Beispiel #1
0
        protected void btnAdd_Click(object sender, System.EventArgs e)
        {
            string text = base.Request.Form["CheckBoxGroup"];

            if (string.IsNullOrEmpty(text))
            {
                this.ShowMsg("请选择一件商品!", false);
                return;
            }
            if (SubsitePromoteHelper.AddPromotionProducts(this.activityId, text))
            {
                this.CloseWindow();
                return;
            }
            this.ShowMsg("选择的商品没有添加到此促销活动中!", false);
        }