R
Ray
I'm following a tutorial in http://www.aspronline.com/learn/ and I'm trying
to connect to a database. The database is one I've used in a Front Page
Database Results Wizard, but I what to work out for myself how this all
works, without using wizards. So, that being the case, I've typed in what
they said, with my own own site and database specific stuff, but it doesn't
seem to work. This is what I've typed in:
<%
Set Conn = Server.CreateObject("ADODB.Connection")
myDSN = "DRIVER={Microsoft Access Driver (\fpdb\books.mdb)};"
myDSN = myDSN & "DBQ=\fpdb\books.mdb"
Conn.Open(myDSN)
Conn.Close
Set Conn = Nothing
%>
<html><head>
<title>test.asp</title><meta name="Microsoft Theme" content="books-theme
1011, default">
</head>
<body color="#FFFFFF">
</body></html>
Can anybody help?
Ray
to connect to a database. The database is one I've used in a Front Page
Database Results Wizard, but I what to work out for myself how this all
works, without using wizards. So, that being the case, I've typed in what
they said, with my own own site and database specific stuff, but it doesn't
seem to work. This is what I've typed in:
<%
Set Conn = Server.CreateObject("ADODB.Connection")
myDSN = "DRIVER={Microsoft Access Driver (\fpdb\books.mdb)};"
myDSN = myDSN & "DBQ=\fpdb\books.mdb"
Conn.Open(myDSN)
Conn.Close
Set Conn = Nothing
%>
<html><head>
<title>test.asp</title><meta name="Microsoft Theme" content="books-theme
1011, default">
</head>
<body color="#FFFFFF">
</body></html>
Can anybody help?
Ray