private void BookSearch_delete() { BookInfoBLL bookInfo = new BookInfoBLL(); Response.Write(bookInfo.Delete(int.Parse(Request["BookId"]))); Response.End(); }
//根据useGuid删除图书 public void RemoveBook() { string bookGuid = GetString("bookGuid"); bool r = bookInfoBLL.Delete(bookGuid); if (r) { Response.Write("成功!"); } else { Response.Write("失败!"); } }
public void RemoveBook() { String id = GetString("bookguid"); bookInfoBLL.Delete(id); }