Results 1 to 2 of 2

Thread: mitul

  1. #1
    Join Date
    Dec 1969

    Default mitul

    how do i connect my form to the databse on the net i have triedmany a time sbut doesnt work do hepl

  2. #2
    Join Date
    Dec 1969

    Default RE: mitul

    This is a DNS-Less connection for an Access database called from a page in a subdirectory of the root directory<BR><BR>Set Conn=Server.CreateObject("ADODB.Connection")<BR>Se t RS=Server.CreateObject("ADODB.Recordset")<BR><BR>C onnStr="Driver={Microsoft Access Driver (*.MDB)};DBQ=" & Server.MapPath("../cgi-bin/YourDatabase.mdb")<BR>Conn.Open ConnStr<BR><BR>now the database is open and you can run Sql inserts, Updates, Deletes or selects

Posting Permissions

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