Using SQL Server, you will need a connection string to be able to access the database. Here is the basic connection string format.
DRIVER=sql server;SERVER=ServerName;UID=UserName;PWD=Password;APP=Microsoft Visual;WSID=PcName;DATABASE=DatabaseName
Do not forget to verify connection.