deparusermod.jsp~14~
上传用户:dlqqsh
上传日期:2021-11-13
资源大小:7840k
文件大小:1k
源码类别:

OA系统

开发平台:

Java

  1. <%@ page contentType="text/html; charset=GBK" import="officeol.mc.tools.*" %>
  2. <%request.setCharacterEncoding("GBK"); %>
  3. <html>
  4. <head>
  5. <title>
  6. 天津市河东区经济贸易委员会内部办公网
  7. </title>
  8. </head>
  9. <body bgcolor="#ffffff">
  10. <h1>
  11. 部门用户修改
  12. </h1>
  13. <p>
  14.   <%
  15. String message = request.getAttribute("msg")==null?"":request.getAttribute("msg").toString();
  16. out.print(message);
  17. DBConn dbc = new DBConn();
  18. String depsql = "select deparname,dnmd5 from deparment";
  19. String[][] dep = dbc.getArray(depsql);
  20. if(dep!=null){
  21.   %>
  22. </p>
  23. <table width="90%" border="1">
  24.   <tr>
  25.     <td>部门</td>
  26.     <td>修改部门所属人员</td>
  27.   </tr>
  28.   <%
  29.   for(int i = 0; i < dep.length; i++){
  30.     %>
  31.     <tr>
  32.       <td><%=dep[i][0] %></td>
  33.       <td><a href="deparuseradd.jsp?dep=<%=dep[i][1] %>">修改</a></td>
  34.     </tr>
  35.     <%
  36.     }
  37.   %>
  38.   <tr>
  39.     <td>&nbsp;</td>
  40.     <td>&nbsp;</td>
  41.   </tr>
  42. </table>
  43. <%
  44. }else{
  45.   out.print("没有部门!");
  46. }
  47. %>
  48. <p>&nbsp;</p>
  49. </body>
  50. </html>