| 网站首页 | 业界新闻 | 小组 | 威客 | 人才 | 下载频道 | 博客 | 代码贴 | 在线编程 | 编程论坛
欢迎加入我们,一同切磋技术
用户名:   
 
密 码:  
共有 355 人关注过本帖
标题:大家帮下忙
只看楼主 加入收藏
a253560600
Rank: 1
等 级:新手上路
帖 子:1
专家分:0
注 册:2007-5-1
收藏
 问题点数:0 回复次数:2 
大家帮下忙

源代码
<%@LANGUAGE="VBSCRIPT" CODEPAGE="936"%>
<!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>
<!--#include file="conn.asp" -->
<% dim id ,sq1, rs,tw ,hd %>
<%id=request.Form("usrnid")%>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>无标题文档</title>
</head>

<body>

<% hd=request.Form("usrnhd")
tw=request.Form("usrnwt")
%>
<%
Set rs = Server.CreateObject ("ADODB.Recordset")
sql = "Select * from users where UserID='"&Trim("id")&"'"
rs.Open sql,conn,1,1
%>

<% if tw<>rs.fields("tw1") then
response.write"<script>"
response.write"alert(""提问不存在"");"
response.write"history.back()"
response.write"</script>"
response.end

%>

<% if hd <>rs.fields("hd") then
response.write"<script>"
response.write"alert(""回答不存在"");"
response.write"history.back()"
response.write"</script>"
response.end
else
session("zhen")=1


%>
<%
end if
end if %>
<%
Response.Redirect("8,asp")
%>
</body>
</html>
错误类型:

(0x80020009)
发生意外。
/9.asp, 第 23 行

搜索更多相关主题的帖子: blank include 源代码 PUBLIC target 
2007-05-01 19:43
lq7350684
Rank: 6Rank: 6
等 级:贵宾
威 望:20
帖 子:5089
专家分:98
注 册:2006-11-6
收藏
得分:0 
代码太乱了
先整理一下吧。
2007-05-01 20:50
yms123
Rank: 16Rank: 16Rank: 16Rank: 16
等 级:版主
威 望:209
帖 子:12488
专家分:19042
注 册:2004-7-17
收藏
得分:0 
整理一下代码,把出错页面的内容全贴上来。
2007-05-01 21:18
快速回复:大家帮下忙
数据加载中...
 
   



关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.013942 second(s), 8 queries.
Copyright©2004-2024, BCCN.NET, All Rights Reserved