小问题,有点急
<!--#include file="include/conn_new.asp"-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>无标题文档</title>
</head>
<body>
<%
function repiacebr(brvalmystr)
replacebr=replace(mystr,chr(13),"<br>")
end function
%>
学号:<%=request.form("xh")%><br>
姓名:<%=request.form("xm")%><br>
性别:<%=request.form("xb")%><br>
课程名:<%=request.form("kcm")%><br>
分数:<%=request.form("fs")%><br>
年龄:<%=request.form("age")%><br>
</select>
<%
dim strsql,str1sql,vxh,vxm,vxb,vkcm,vfs,vage
vxh=request.form("xh")
vxm=request.form("xm")
vxb=request.form("xb")
vkcm=request.form("kcm")
vfs=request.form("fs")
vage=request.form("age")
strsql="insert into xsb(xh,xm,xb,age) values('"&vxh&"', '"&vxm&"', '"&vxb&"', '"&vage&"')"
oconn.execute(strsql)
str1sql="insret into cjb(cjb_xh,cjb_fs) values('"&vxh&"','"&vfs&"')"
oconn.execute(str1sql)
response.write"<h2>添加成功</h2>"
%>
</body>
</html>
以上数据是添加到SQL2个表里的数据,为什么我str1sql添加不到cjb就出错,说INTO附近语法错误