protected void repCustomDistributorStatisticList_ItemCommand(object source, RepeaterCommandEventArgs e) { if (((e.CommandName != "Edit") && (e.CommandName != "Update")) && (e.CommandName == "Delete")) { string str = e.CommandArgument.ToString(); if (!string.IsNullOrEmpty(str)) { VShopHelper.DeleteCustomDistributorStatistic(str); this.ShowMsg("删除成功", true); this.BindData(); } } }
protected void lkbDelectSelect_Click(object sender, System.EventArgs e) { string text = ""; if (!string.IsNullOrEmpty(base.Request["CheckBoxGroup"])) { text = base.Request["CheckBoxGroup"]; } if (text.Length <= 0) { this.ShowMsg("请先选择要删除的分销商排名", false); return; } VShopHelper.DeleteCustomDistributorStatistic(text); this.ShowMsg("删除成功", true); this.BindData(); }
protected void repCustomDistributorStatisticList_ItemCommand(object source, System.Web.UI.WebControls.RepeaterCommandEventArgs e) { if (e.CommandName == "Edit") { return; } if (e.CommandName == "Update") { return; } if (e.CommandName == "Delete") { string value = e.CommandArgument.ToString(); if (!string.IsNullOrEmpty(value)) { VShopHelper.DeleteCustomDistributorStatistic(value); this.ShowMsg("删除成功", true); this.BindData(); } } }