userdelete.jsp~13~
资源名称:bangong.rar [点击查看]
上传用户:dlqqsh
上传日期:2021-11-13
资源大小:7840k
文件大小:0k
源码类别:
OA系统
开发平台:
Java
- <%@ page contentType="text/html; charset=GBK" import="officeol.mc.tools.*" %>
- <html>
- <head>
- <title>
- 天津市经贸委在线办公
- </title>
- </head>
- <body bgcolor="#ffffff">
- <h1>
- 删除用户
- </h1>
- <%
- DBConn dbc = new DBConn();
- Tool tl = new Tool();
- String un = request.getParameter("un");
- if(un!=null){
- String sql = "delete from [user] where unmd5='"+un+"'";
- dbc.executeUpdate(sql);
- session.setAttribute("msg1","删除用户成功!");
- response.sendRedirect("userset.jsp");
- }
- %>
- </body>
- </html>