<HTML>
<HEAD>
<TITLE>GET DATA FROM ACCESS USING ASP</TITLE>
</HEAD>
<BODY>
<%
Dim MyConnection
Dim MyRecordset
Set MyConnection =Server.CreateObject("Adodb.Connection"
With MyConnection
.open "Provider=microsoft.jet.oledb.4.0" & _
"datasource =c:\MyDatabase.mdb"
End With
MyRecordset.open "table_name",MyConnection,3,3
MyRecordset.movefirst
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.