java开发实例——数据库查询
一个精致的数据库查询的小例子 Class.forName("sun.jdbc.odbc.JdbcOdbcDriver"); String url = "jdbc:odbc:xueyuan"; Connection connection = DriverManager.getConnection(url); Statement statement = connection.createStatement(); jieshou=request.getParameter("xuehao1");