protected void batActive_Click(object sender, EventArgs e) { string ids = Request.Form["idchk"]; if (!string.IsNullOrEmpty(ids)) { avBll.ActiveByIDS(ids); } function.WriteSuccessMsg("操作成功"); }
public ContentResult Arrive_API() { string action = GetParam("action"); switch (action) { case "del": avBll.DelByIDS(ids); break; case "active": avBll.ActiveByIDS(ids); break; } return(Content(Success.ToString())); }