jsp+javascript打造级连菜单

阅读更多
jsp+javascript打造级连菜单
   http://www.souzz.net 2005-08-24 文章出处:搜站长搜集
 


<%@ page import="java.util.Date,yava.fileapp.*,java.sql.*;"
         contentType="text/html;charset=GB2312" pageEncoding="GB2312"
%>




<%
  CDataSource ds=new CDataSource();  //数据联结Bean实例
  java.sql.Connection conn=ds.getConnection();
  java.sql.Statement stmt=null;
  java.sql.ResultSet rs=null;
  CDataCheck dc=new CDataCheck();
%>

<%
 String sqlu="SELECT t1.fno, t1.fname, t2.fname AS fdept FROM tuser t1 LEFT OUTER JOIN TDept t2 ON t1.fdept = t2.fno order by t2.fname";
 stmt=conn.createStatement();
 rs=stmt.executeQuery(sqlu);
%>
 




 
   
   
   
   
 
 
   
   
   
   
 
   
   
 
部门选择人名选择添加/移除最终人

 
 

 
 

 
 
 

 
 


 

你可能感兴趣的:(JavaScript,JSP,C,C++,C#)