asp缺少对象问题,拜托各位高手了

<html><head><metahttp-equiv="Content-Type"content="text/html;charset=gb2312"/><title>... <html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>注册结果</title>
<!--#include file="db.inc.asp"-->
<style type="text/css">
<!-
body {
margin-top: 0px;
margin-bottom: 0px;
background-image: url();
background-repeat: no-repeat;
}
-->
</style></head>
<body>
<table width="800" border="0" align="center" cellspacing="0">
<tr>
<td width="218" height="72"> </td>
<td width="376"> </td>
<td width="200"> </td>
</tr>
<tr>
<td> </td>

<%
rst.open "select * from user where u_user='" & request.form("f_user")&"'",conn,1,1
if rst.recordcount>0 then
'如果存在这个用户名,对用户进行提示
response.write "用户名:" & request.form("f_user") & "已经被占用!请点击后退按钮返回上一页!"
response.end
else
'如果用户名不存在则写入数据
set rst10=conn.Execute("insert into user (u_ser.u_code) values (‘"& request.form("f_user") & "'.'"& requesr.form("f_code")&"')")
end if

%>

<td align="center" valign="middle"><img src="img/1.jpg" width="320" height="200" /><br>
<img src="img/2.jpg" width="320" height="200" /></td>
<td> </td>
</tr>
<tr>
<td height="154"> </td>
<td> </td>
<td> </td>
</tr>
</table>
</body>
</html>
拜托各位高手帮忙解决这个问题吧
展开
 我来答
百度网友30620565f
2009-12-21 · 超过18用户采纳过TA的回答
知道答主
回答量:66
采纳率:0%
帮助的人:79.7万
展开全部
<!--#include file="db.inc.asp"-->
问题可能出在这个文件。
1.检查一下这个文件的路径是否正确。
2.尽量不要把文件名命名成*.asp的样子,db_inc.asp
3.可能的话,那这个文件发出来看看.
喵西奥尔
2009-12-21 · TA获得超过6.4万个赞
知道大有可为答主
回答量:1.8万
采纳率:61%
帮助的人:3404万
展开全部
应该是文件不全吧。这个文件没有办法单独运行的,没有定义数据库连接,怎么就直接链接了?
已赞过 已踩过<
你对这个回答的评价是?
评论 收起
TOP_小伍
2009-12-21 · TA获得超过158个赞
知道小有建树答主
回答量:334
采纳率:0%
帮助的人:0
展开全部
什么提示错误
已赞过 已踩过<
你对这个回答的评价是?
评论 收起
莲甲N
2009-12-21 · TA获得超过292个赞
知道小有建树答主
回答量:203
采纳率:0%
帮助的人:191万
展开全部
set rst10=conn.Execute("insert into user (u_ser,u_code) values ('"& request.form("f_user") & "','"& requesr.form("f_code")&"')")
已赞过 已踩过<
你对这个回答的评价是?
评论 收起
收起 更多回答(2)
推荐律师服务: 若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询

为你推荐:

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

类别

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

说明

0/200

提交
取消

辅 助

模 式