2012年3月14日
摘要: 在做一个小的学生信息管理系统,涉及到jdbc的运用,在完成查询功能时,查询语句为1 public static final String SELECT_STUDENT = "select * from student where sno='?'";然后在Dao中相关语句为 1 public boolean selectStudent(String sql,Vector rowData) { 2 try { 3 Class.forName(drivername); 4 con = DriverManager.getConnectio... 阅读全文
posted @ 2012-03-14 21:43 Morphin3 阅读(3620) 评论(1) 推荐(1) 编辑