private void btnReplaceOK_Click(object sender, EventArgs e)
        {
            string str = base.Request.Form["CheckBoxGroup"];

            if (string.IsNullOrEmpty(str))
            {
                ShowMsg("请先选择要下架的商品", false);
            }
            else if (string.IsNullOrEmpty(txtOleWord.Text.Trim()))
            {
                ShowMsg("查找字符串不能为空", false);
            }
            else
            {
                if (SubSiteProducthelper.ReplaceProductNames(str, txtOleWord.Text.Trim(), txtNewWord.Text.Trim()))
                {
                    ShowMsg("为商品名称替换字符串缀成功", true);
                }
                else
                {
                    ShowMsg("为商品名称替换字符串缀失败", false);
                }
                BindProducts();
            }
        }
        private void btnReplaceOK_Click(object sender, System.EventArgs e)
        {
            string text = base.Request.Form["CheckBoxGroup"];

            if (string.IsNullOrEmpty(text))
            {
                this.ShowMsg("请先选择要下架的商品", false);
                return;
            }
            if (string.IsNullOrEmpty(this.txtOleWord.Text.Trim()))
            {
                this.ShowMsg("查找字符串不能为空", false);
                return;
            }
            if (SubSiteProducthelper.ReplaceProductNames(text, Globals.HtmlEncode(this.txtOleWord.Text.Trim()), Globals.HtmlEncode(this.txtNewWord.Text.Trim())))
            {
                this.ShowMsg("为商品名称替换字符串缀成功", true);
            }
            else
            {
                this.ShowMsg("为商品名称替换字符串缀失败", false);
            }
            this.BindProducts();
        }