大哥们,帮帮新手
Microsoft VBScript 运行时错误 (0x800A01F5)
非法赋值: 'date'
/jilu/jieshou.asp, 第 4 行
Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; .NET CLR 1.1.4322)
POST 48 ??? /jilu/jieshou.asp
zz=sadf&clqk=sadfasd&bz=asdf&Submit=%CC%E1%BD%BB
---------------------------------(这是源码)
<%
set conn=server.createobject("adodb.connection")
conn.open "driver={microsoft access driver (*.mdb)};dbq="&server.mappath("db1.mdb")
date=request.form("date")
jh=request.form("jh")
zz=request.form("zz")
clqk=request.form("clqk")
bz=request.form("bz")
exec="insert into wjjlxx (date,jh,zz,clqk,bz)values('"+date+"','"+jh+"','"+zz+"','"+clqk+"','"+bz+"')"
conn.execute exec
conn.close
set conn=nothing
response.write "记录添加成功!"
rs.close
set rs=nothing
conn.close
set conn=nothing
%>
<meta http-equiv="refresh" content="2;URL=index.asp">