userdeparmod.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>
- <p><a href="index.jsp">返回首页</a><br />
- <%
- String message = request.getAttribute("msg")==null?"":request.getAttribute("msg").toString();
- out.print(message);
- DBConn dbc = new DBConn();
- String pgsql = "select * from deparment";
- String[][] depar = dbc.getArray(pgsql);
- %>
- </p>
- <table width="90%" border="1">
- <tr>
- <td>编号</td>
- <td>部门名称</td>
- <td>部门说明</td>
- <td>修改部门</td>
- </tr>
- <%
- for(int i = 0; i < depar.length; i++){
- %>
- <tr>
- <td><%=depar[i][0] %></td>
- <td><%=depar[i][1] %></td>
- <td><%=depar[i][2] %></td>
- <td><a href="deparmod.jsp?dpm=<%=depar[i][3] %>"></a>修改部门</td>
- </tr>
- <%
- }
- %>
- </table>
- <p> </p>
- </body>
- </html>