相关代码 |
|
if(request.getParameter("ISBN")!=""){ String ISBN=chStr.convertStr(request.getParameter("ISBN")); String sql="delete from tb_bookinfo where ISBN='"+ISBN+"'"; int ret=0; ret=connDB.executeUpdate(sql); if (ret!=0){ out.println("alert('图书信息删除成功!');window.location.href='index.jsp';"); }else{ out.println("alert('图书信息删除失败!');window.location.href='index.jsp';"); } } %>
相关资源 |
|