private void DeleteSelected() { if (string.IsNullOrEmpty(base.Request.Form["CheckBoxGroup"])) { ShowMsg("请先勾选要删除的供货商!", false); } else { foreach (string str in base.Request.Form["CheckBoxGroup"].Split(new char[] { ',' })) { ProductLineHelper.DeleteSupplier(Globals.HtmlEncode(str)); } } }
private void DeleteSelected() { if (string.IsNullOrEmpty(base.Request.Form["CheckBoxGroup"])) { this.ShowMsg("请先勾选要删除的供货商!", false); return; } string[] array = base.Request.Form["CheckBoxGroup"].Split(new char[] { ',' }); string[] array2 = array; for (int i = 0; i < array2.Length; i++) { string textToFormat = array2[i]; ProductLineHelper.DeleteSupplier(Globals.HtmlEncode(textToFormat)); } }