private void btnDelete_Click(object sender, EventArgs e)//批量删除商品 { string str = base.Request.Form["CheckBoxGroup"]; if (string.IsNullOrEmpty(str)) { this.ShowMsg("请先选择要删除的商品!", false); } else if (ProductHelper.DelPointsForProducts(str) > 0) { this.ShowMsg("成功删除了选择的商品!", true); this.BindProducts(); } else { this.ShowMsg("删除商品失败,未知错误!", false); } }