• If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to Register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Announcement

Collapse
No announcement yet.

MS SQL DSN Less Connection string - ASP

Collapse

Unconfigured Ad Widget

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • MS SQL DSN Less Connection string - ASP

    WordPress Hosting on SSD Servers
    One can use below mentioned MS SQL DNS less connection string for ASP Script:

    Dim SqlConn
    Set SqlConn = Server.CreateObject("ADODB.Connection")

    SqlConn.ConnectionString="Driver={SQL Server};" & "Server=MS SQL Server IP;" & _"Database=dbname;" & "Uid=username;" & "Pwd=password;"

    SqlConn.Open
    Response.Write "SQL Connection Successful"
    Last edited by admin; 08-21-2015, 06:04 AM.
Working...
X

Sign up for a News Letter Click here to sign up