I m using SQL server express edition.I can log in to the server using login name and password by sql server management studio express.But I cant connect to the server using my following java code.I m using jTDS JDBC driver for sql server 2005 express. import java.sql.*; import java.sql.Driver;
Badly formatted code. Are you still having this problem? If so please place Errors/Warnings from any logs/console that you are getting. Please use the java tags when posting code.