Here is a basic example that might help.
Page1.htm (or asp if there's any prior server side stuff on the page):
<form name="frmTest" action="page2.asp" method="post">
Input 1:<input type="text" name="Input1">
Input 2:<input type="text" name="Input2">
Input 3:<input type="text" name="Input3"><br>
<input type="submit" value="Submit">
</form>
page2.asp:
<%@ language="vbscript"%>
<%
Option Explicit
dim dbConn, strSQL
'Establish new DB connection, this example uses MS Jet for Access DB
Set dbConn = server.CreateObject("ADODB.Connection"

dbConn.ConnectionString = "Provider=Microsoft.Jet.OLEDB.3.51;Data Source=c:\yourdatabase.mdb"
'Build the SQL Statement to insert (but could be update)
strSQL = "INSERT INTO yourTableName (Field1, Field2, Field3) VALUES ('" & request.form("Input1"

& "', '" & request.form("Input2"

& "', '" & request.form("Input3"

& "'"
dbConn.Execute (strSQL)
'Could output some HTML here or redirect to another page to show successful process
%>
I haven't tested the above so apologies for any errors/typos but I hope you at least get the idea.
Have a look at
for different connection strings.