asp教程 +access 數據保存插入代碼
if request
set conn=server
conn
ag=request
amount=request
name
tel=request
email=request
QQ=request
bolg=request
blank=request
exec="insert into 訂單(訂單
conn
conn
set conn=nothing
end if
%>
<%@LANGUAGE="VBSCRIPT" CODEPAGE="
<!DOCTYPE html PUBLIC "
<html xmlns="
<html>
<head>
<title>asp +access 數據保存插入代碼</title>
<meta http
</head>
<body bgcolor="#FFFFFF" text="#
<form name="form
<table width="
<tr>
<td>產品
<input type="text" name="ag" value=""> </td>
<td>數量 (斤)
<input type="text" name="amount" value=""></td>
<td>姓名
<input type="text" name="name" value=""></td>
<td>電話
<input type="text" name="tel" value=""></td>
<td>Email
<input type="text" name="email" value=""></td>
<td>QQ
<input type="text" name="QQ" value=""></td>
<td>博客<input type="text" name="bolg" value=""></td>
<td>銀行卡號<input type="text" name="blank" value=""></td>
</tr>
</table>
<br>
<br>
<br>
<input type="submit" name="Submit" value="提交">
<input type="reset" name="Submit
</form>
<br>
</body>
</html>
From:http://tw.wingwit.com/Article/program/net/201311/14361.html