Database Connection String (Using a DSN)

/ Published in: ASP
Save to your folder(s)

Copy this code and paste it in your HTML
  1. <%
  2. 'Open the database connection
  3. Set objConn = Server.CreateObject("ADODB.Connection")
  4. objConn.Open "DSN=dsn_name;UID= ;PWD= "
  5. %>


Report this snippet


RSS Icon Subscribe to comments

You need to login to post a comment.