<html>
<head>
<title>处理增加的成员</title>
</head>
<body>
<%
on error resume next
if trim(request(“name”))=“” or trim(request("password"))=“” then
Response.Write "对不起,姓名和密码必须输入“
Response.Write "<p><a href='add_form.htm'>返回,重新填写</a>"
else
sID=request("ID")
sname=request("name")
stel=request("sex")
shome=request("speci")
semail=request("address")
sdata=request("data")
set cn=server.createobject("ADODB.connection")
cn.open "DSN=xsgl"
set rs=cn.execute("insert into student (studID,studName,studSex,studSpeciality,studAddress,studData) values('" & studID & "','" & studName & "','" & studSex & "','" & studSpeciality & "','" & studAddress & "','" & studData & "')")
end if
%>
</body>
</html>
上面的程序运行不了,帮忙看一下!