SQL Server的连接方式:Class.forName("com.microsoft.jdbc.sqlserver.SQLServerDriver").newInstance();
String url="jdbc:microsoft:sqlserver://localhost:1433;DatabaseName=test";
String user="user";
String password="password";
Connection conn= DriverManager.getConnection(url,user,password); 我估计com.microsoft.jdbc.sqlserver.SQLServerDriver你写错了。
String url="jdbc:microsoft:sqlserver://localhost:1433;DatabaseName=test";
String user="user";
String password="password";
Connection conn= DriverManager.getConnection(url,user,password); 我估计com.microsoft.jdbc.sqlserver.SQLServerDriver你写错了。
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货