//彻底删除 public int Content_RealDel(string ids) { if (conBll.DelByIDS(ids)) { return(1); } else { return(0); } }
protected void btnDeleteAll_Click(object sender, EventArgs e) { string ids = Request.Form["idchk"]; if (!string.IsNullOrEmpty(ids)) { if (Status.Equals("-2")) { bll.DelByIDS(ids); } else { for (int i = 0; i < ids.Split(',').Length; i++) { bll.SetDel(Convert.ToInt32(ids.Split(',')[i])); } } } MyBind(); }
public int Content_RealDel(string ids) { conBll.DelByIDS(ids); return(Success); }