Announcement

Collapse
No announcement yet.

MS SQL DSN Less Connection string - ASP

Collapse

Ads on showthread pages

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, 05:04 AM.
Working...
X
Sign up for a News Letter Click here to sign up