private void lkbtnDeleteCheck_Click(object sender, EventArgs e) { string str = ""; if (!string.IsNullOrEmpty(base.Request["CheckBoxGroup"])) { str = base.Request["CheckBoxGroup"]; } if (str.Length <= 0) { this.ShowMsg("请选要删除的退款申请单", false); } else { int num; string format = "成功删除了{0}个退款申请单"; if (SubsiteSalesHelper.DelRefundApply(str.Split(new char[] { ',' }), out num)) { format = string.Format(format, num); } else { format = string.Format(format, num) + ",待处理的申请不能删除"; } this.BindRefund(); this.ShowMsg(format, true); } }
private void lkbtnDeleteCheck_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; } string text2 = "成功删除了{0}个退款申请单"; int num; if (SubsiteSalesHelper.DelRefundApply(text.Split(new char[] { ',' }), out num)) { text2 = string.Format(text2, num); } else { text2 = string.Format(text2, num) + ",待处理的申请不能删除"; } this.BindRefund(); this.ShowMsg(text2, true); }