userdepardel.jsp~10~
资源名称:bangong.rar [点击查看]
上传用户:dlqqsh
上传日期:2021-11-13
资源大小:7840k
文件大小:1k
源码类别:
OA系统
开发平台:
Java
- <%@ page contentType="text/html; charset=GBK" import="officeol.mc.tools.*" %>
- <%request.setCharacterEncoding("GBK"); %>
- <html>
- <head>
- <title>
- 天津市经贸委在线办公
- </title>
- </head>
- <body bgcolor="#ffffff">
- <h1>
- 用户部门删除
- </h1>
- <%
- String message = request.getAttribute("msg")==null?"":request.getAttribute("msg").toString();
- out.print(message);
- DBConn dbc = new DBConn();
- String dnmd5 = request.getParameter("dpm");
- String delsql = "delete from deparment where dnmd5 = '"+dnmd5+"'";
- dbc.executeUpdate(delsql);
- session.setAttribute("test","删除部门成功!");
- response.sendRedirect("userdeparmod.jsp");
- %>
- </body>
- </html>