技术信息(用于支持人员)
错误类型:
Microsoft VBScript 运行时错误 (0x800A01A8)
缺少对象: ''
/asp/wxyweb/modify.asp, 第 32 行
第32行是指下面程序中的蓝色代码.为什么会出这样的错呢?
试过几种改的方案都不行:
1,rst.open" "select*from user where u_id=&" request.querystring("id"),conn,1,1 "
2,rst.open" '"select*from user where u_id="' & request.querystring("id") ,conn,1,1"
3,rst.open" '"select*from user where u_id="' & request.querystring("id")" ,conn,1,1 '
'上面三个就提示,语句未结束
4,rst.open "select*from user where u_id=& request.querystring("id"),conn,1,1 "
5,rst.open '"select*from user where u_id=" & request.querystring("id") ,conn,1,1 '
这两种还是提示缺少对象''
<!-- #include file="db.inc.asp"-->
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>会员资料修改</title>
set rst=server.createobject("adodb.recordset")
<body>
<table width="800" height="573" border="0" align="center" cellspacing="0">
<tr>
<td height="573" align="center" valign="top" background="img/hyzlxg.jpg"><table width="800" border="0" cellspacing="0">
<tr>
<td width="73" height="164"> </td>
<td width="646"> </td>
<td width="75"> </td>
</tr>
<tr>
<td height="337"> </td>
<td align="center" valign="middle" bgcolor="#F9F9F9"><a href="admin.asp">返回会员列表</a>
<%
rst.open "select*from user where u_id=" & request.querystring("id"),conn,1,1
%>
<form id="form1" name="form1" method="post">
<table width="90%" border="1" align="center" cellpadding="5" cellspacing="0">
<tr>
<td colspan="3">请在下面修改会员资料,红色<span class="STYLE1">*</span>号所标示的选项为必填项</td>
请帮忙赶一下这个半路杀出来的老虎.多谢先.