摘要: 步骤:(增删改) 1.导jar包 2.加载驱动类,Class.forName("类名"); 3.建立DriverManager连接,获得连接对象 4.通过Connection对象创建Statement,调用它的executeUpdate(sql),它可以发送DML、DDL 步骤:(查询) 一、得到C 阅读全文
posted @ 2016-03-25 15:57 Hsinwang 阅读(206) 评论(0) 推荐(0) 编辑