摘要:
public class Demo{public static void main(String[] args) {try {String sql="insert into person values(?,?)";Class.forName("com.microsoft.sqlserver.jdbc.SQLServerDriver");Connection conn=DriverManager.getConnection("jdbc:sqlserver://localhost:1433;databaseName=pubs"," 阅读全文