Sure man,
Normally i put my connection strings in an include file below the root level, but for this example we can leave it in the main file.
---------- dbconn.asp ----------
<%@LANGUAGE="VBSCRIPT" CODEPAGE="1252"%>
<html>
<body>
<%
dim cmd, conn, rs, strSQL
set conn=server.CreateObject("ADODB.Connection")
set rs=server.CreateObject("ADODB.Recordset")
set cmd=server.CreateObject("ADODB.Command")
filepath=Server.MapPath("database_path/here/database_name.mdb")
conn.open "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & filepath
strSQL = "SELECT * TOP 1 FROM database_name"
rs.open strSQL, conn, 1, 1
%>
<form>
<input type="text" name="field_name" value="<%=rs("database_field")%>
</form>
<%
rs.close
set strSQL = Nothing
%>
</body>
</html>
-------------------------------------------
Now just save that file with a ASP extension and it will connect to your database fine and display the top record from the database into your form.