SQL Server Connection String

string str = 'server=localhost;database=dbname;uid=dbuser;pwd=dbpass;';

dbname : Your Database Name
dbuser : Your DataBase Username
dbpass : Your DataBase Password

Was this answer helpful?

 Print this Article

Also Read

MS Access DSN Less Connection Example

Here is the example code for dsn less ms access connection. <% Set db =...

Perl

PROBLEM: When you use a Common Gateway Interface (CGI) application with Microsoft Internet...

Internal clients cannot use Internet Explorer to access FTP sites

SYMPTOMS When you use Microsoft Internet Explorer to try to access a File Transfer Protocol...

MS Access DSN Connection Example

<% set rs=Server.CreateObject("ADODB.Recordset") db="DSN=MyDSN;UID=;PWD=;" SQL = "SELECT *...

I get a IISPassword error HTTP ERROR 500 when I try to view my site.

The reason you are seeing this is generally because you have a .htaccess file in your directory....

Powered by WHMCompleteSolution