
commicrosoftsqlserverjdbcSQLServerDriver是加载2005的jdbc驱动 sqlserver后面的是服务器名,也就是你的数据库连接时用的实例 database数据库名,后面的是用户名和密码,如果你是sqlserver验证登录的话!private static final String conter="commicrosoftsqlserverjdbcSQLServerDriver";private static final String url="jdbc:sqlserver://06E021E781BF460:1433;database=Item;username=liu;password=make"; private Connection con; public DB() throws ClassNotFoundException, SQLException public ResultSet look(String sql) throws SQLException public PreparedStatement up(String sql) throws SQLException public void closecon() throws SQLException } }}
以上就是关于N8数据库里面的密码串号怎么编译过来全部的内容,包括:N8数据库里面的密码串号怎么编译过来、、等相关内容解答,如果想了解更多相关内容,可以关注我们,你们的支持是我们更新的动力!
欢迎分享,转载请注明来源:内存溢出
微信扫一扫
支付宝扫一扫
评论列表(0条)