password to connection

Results 1 to 2 of 2

Thread: password to connection

  1. #1
    Join Date
    Dec 1969

    Default password to connection

    Hi I know it is vey basic, but how do I add a database password to the following connection?<BR><BR><BR>Set conn = Server.CreateObject("ADODB.Connection")<BR>conn.Op en "DBQ=" & Server.MapPath("Database/e-manual.mdb") _<BR>& ";Driver={Microsoft Access Driver (*.mdb)};"

  2. #2
    Join Date
    Dec 1969

    Default RE: password to connection

    Set conn = Server.CreateObject("ADODB.Connection") <BR>conn.Open "DBQ=" & Server.MapPath("Database/e-manual.mdb") _ <BR>& ";Driver={Microsoft Access Driver (*.mdb)};", "YourDBUserNameHere", "YourDBPasswordHere"

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts