关于ASP代码Microsoft VBScript 运行时错误 (0x800A01A8) 缺少对象: 'requst'

<!--#includefile=include.asp--><!--#includefile=CheckPurview.asp--><%setrs=server.Cre... <!--#include file = include.asp-->
<!--#include file = CheckPurview.asp-->
<%

set rs=server.CreateObject("adodb.recordset")

comname=request.form("comname")
bigclass=request.form("bigclass")
smallclass=request.form("smallclass")
server1=replace(request.form("serverid")," ","")
owner=request.form("owner")
IDcard=requst.form("IDcard")
startdata=requst.form("startdata")
sex=requst.form("sex")
age=requst.form("age")
tel=request.form("tel")
fax=request.form("fax")
phone=requst.form("phone")
address=requst.form("address")
house=requst.form("house")
area=requst.form("area")
totel=requst.form("totel")
month=requst.form("month")
gdbl=requst.form("gdbl")
ldbl=requst.form("ldbl")
cjzg=requst.form("cjzg")
zjs=requst.form("zjs")
ghother=requst.form("ghother")
snbl=requst.form("snbl")
swbl=requst.form("swbl")
cppl1=replace(request.form("plid")," ","")
jycl1=replace(request.form("clid")," ","")
date1=request.form("date")
connet=request.form("connet")
level=request.form("level")
finder=request.form("finder")
resources=request.form("resources")
other=request.form("other")

set rs = server.createobject("adodb.recordset")
sql="select * from news where (comname='"&comname&"' or tel='"&tel&"') order by newsid desc"
set rs=server.createobject("ADODB.Recordset")
rs.open sql,conn,1,1
if not(rs.eof or rs.bof) then
response.write"<SCRIPT language=JavaScript>alert('对不起,该客户已经存在,请核实!');"
response.write"javascript:history.go(-1)</SCRIPT>"
response.end
end if
rs.close

sql= "select * from news"
rs.open sql,conn,1,3
rs.addnew

rs("comname")=comname
rs("bigclass")=bigclass
rs("smallclass")=smallclass
rs("server")=server1
rs("owner")=owner
rs("IDcard")=IDcard
rs("startdata")=startdata
rs("sex")=sex
rs("age")=age
rs("tel")=tel
rs("fax")=fax
rs("phone")=phone
rs("address")=address
rs("house")=house
rs("area")=area
rs("totel")=totel
rs("month")=month
rs("gdbl")=gdbl
rs("ldbl")=ldbl
rs("cjzg")=cjzg
rs("zjs")=zjs
rs("ghother")=ghother
rs("snbl")=snbl
rs("swbl")=swbl
rs("cppl")=cppl1
rs("jycl")=jycl1
rs("date")=date1
rs("connet")=connet
rs("level")=level
rs("finder")=finder
rs("resources")=resources
rs("other")=other

rs.update
url="NewsAdd.asp?SmallClass="&smallclass&"&BigClass="&bigclass&""
response.write "<br><br><br><center><font size=-1>资料已经成功添加,本页1秒钟后返回.<br><br>谢谢您使用本系统</font></center>"
response.write "<meta http-equiv=refresh content=1;url=" & url & ">"
response.end
%>
展开
 我来答
798766
推荐于2016-06-11 · TA获得超过1817个赞
知道大有可为答主
回答量:3750
采纳率:0%
帮助的人:2922万
展开全部
覆盖看结果:)

<!--#include file = include.asp-->
<!--#include file = CheckPurview.asp-->
<%

set rs=server.CreateObject("adodb.recordset")

comname=request.form("comname")
bigclass=request.form("bigclass")
smallclass=request.form("smallclass")
server1=replace(request.form("serverid")," ","")
owner=request.form("owner")
IDcard=request.form("IDcard")
startdata=request.form("startdata")
sex=request.form("sex")
age=request.form("age")
tel=request.form("tel")
fax=request.form("fax")
phone=request.form("phone")
address=request.form("address")
house=request.form("house")
area=request.form("area")
totel=request.form("totel")
month=request.form("month")
gdbl=request.form("gdbl")
ldbl=request.form("ldbl")
cjzg=request.form("cjzg")
zjs=request.form("zjs")
ghother=request.form("ghother")
snbl=request.form("snbl")
swbl=request.form("swbl")
cppl1=replace(request.form("plid")," ","")
jycl1=replace(request.form("clid")," ","")
date1=request.form("date")
connet=request.form("connet")
level=request.form("level")
finder=request.form("finder")
resources=request.form("resources")
other=request.form("other")

set rs = server.createobject("adodb.recordset")
sql="select * from news where (comname='"&comname&"' or tel='"&tel&"') order by newsid desc"
set rs=server.createobject("ADODB.Recordset")
rs.open sql,conn,1,1
if not(rs.eof or rs.bof) then
response.write"<SCRIPT language=JavaScript>alert('对不起,该客户已经存在,请核实!');"
response.write"javascript:history.go(-1)</SCRIPT>"
response.end
end if
rs.close

sql= "select * from news"
rs.open sql,conn,1,3
rs.addnew

rs("comname")=comname
rs("bigclass")=bigclass
rs("smallclass")=smallclass
rs("server")=server1
rs("owner")=owner
rs("IDcard")=IDcard
rs("startdata")=startdata
rs("sex")=sex
rs("age")=age
rs("tel")=tel
rs("fax")=fax
rs("phone")=phone
rs("address")=address
rs("house")=house
rs("area")=area
rs("totel")=totel
rs("month")=month
rs("gdbl")=gdbl
rs("ldbl")=ldbl
rs("cjzg")=cjzg
rs("zjs")=zjs
rs("ghother")=ghother
rs("snbl")=snbl
rs("swbl")=swbl
rs("cppl")=cppl1
rs("jycl")=jycl1
rs("date")=date1
rs("connet")=connet
rs("level")=level
rs("finder")=finder
rs("resources")=resources
rs("other")=other

rs.update
url="NewsAdd.asp?SmallClass="&smallclass&"&BigClass="&bigclass&""
response.write "<br><br><br><center><font size=-1>资料已经成功添加,本页1秒钟后返回.<br><br>谢谢您使用本系统</font></center>"
response.write "<meta http-equiv=refresh content=1;url=" & url & ">"
response.end
%>
本回答被提问者采纳
已赞过 已踩过<
你对这个回答的评价是?
评论 收起
推荐律师服务: 若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询

为你推荐:

下载百度知道APP,抢鲜体验
使用百度知道APP,立即抢鲜体验。你的手机镜头里或许有别人想知道的答案。
扫描二维码下载
×

类别

我们会通过消息、邮箱等方式尽快将举报结果通知您。

说明

0/200

提交
取消

辅 助

模 式