Import java.sql. *; import javax.sql. *;
("com.microsoft.jdbc.sqlser.sqlserterdriver). newinstance (); ??? string url =" JDBC: Microsoft: SQLServer: //127.0.0.1: 1433; DatabaseName = PUBS "; string user =" sa " String password = "123456"; connection conn = drivermanager.getConnection (URL, User, Password);