QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 579|回复: 1

下了个asp程序出错了,请脚下大家怎么解决

[复制链接]
发表于 2004-8-27 23:23:44 | 显示全部楼层 |阅读模式
Microsoft VBScript 编译器错误 错误 '800a03f6'

缺少 'End'

/iisHelp/common/500-100.asp,行242

Microsoft VBScript 运行时错误 错误 '800a000d'

类型不匹配: '[string: ""]'

/admin/saveanclass.asp,行23

saveanclass.asp代码如下
response.Write "<div align=center><font size=80 color=red><b>您没有此项目管理权限!</b></font></div>"
response.End
end if
end if
%>
<%dim action,anclassid
anclassid=request.QueryString("id")
action=request.querystring("action")
select case action
'//添加新数据
case "add"
set rs=server.CreateObject("adodb.recordset")
rs.open "select * from shop_anclass",conn,1,3
rs.AddNew
rs("anclass")=trim(request("anclass2"))
rs("anclassidorder")=int(request("anclassidorder2"))
rs("fudongjia")=int(request("fudongjia2"))
rs.Update
rs.Close
set rs=nothing
response.Redirect "anclass.asp"
'//修改数据
case "edit"
set rs=server.CreateObject("adodb.recordset")
rs.open "select * from shop_anclass where anclassid="&anclassid,conn,1,3
rs("anclass")=trim(request("anclass"))
rs("anclassidorder")=int(request("anclassidorder"))
rs("fudongjia")=int(request("fudongjia"))
rs.Update
rs.Close
set rs=nothing
response.Redirect "anclass.asp"
'//删除数据
case "del"
conn.execute ("delete from shop_anclass where anclassid="&anclassid)
conn.execute ("delete from shop_nclass where anclassid="&anclassid)
conn.execute ("delete from shop_books where anclassid="&anclassid)
response.Redirect "anclass.asp"
end select
%>
[/quote]
发表于 2004-8-28 15:53:12 | 显示全部楼层
一直在用Linux,php么还会那么一点点,什么Microsoft的什么VBScript和ASP一概不晓。
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-11-7 15:37 , Processed in 0.042223 second(s), 16 queries .

© 2021 Powered by Discuz! X3.5.

快速回复 返回顶部 返回列表