一个ASP的问题 在线等
页面显示
错误类型:
ADODB.Field (0x80020009)
BOF 或 EOF 中有一个是“真”,或者当前的记录已被删除,所需的操作要求一个当前的记录。
/page/ment1.asp
代码如下:
<%@ LANGUAGE= "VBSCRIPT " %>
<!--#include file= "conn.asp " -->
<%
set Rs = Server.CreateObject( "ADODB.recordset ")
sql= "select * from [user] where id= ' "&Id& " ' "
rs.open sql,conn,1,1
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN ">
<HTML> <HEAD> <TITLE> 商品结算 </TITLE>
<META http-equiv=Content-Type content= "text/html; charset=gb2312 ">
<META content= "Microsoft FrontPage 4.0 " name=GENERATOR>
</HEAD>
<BODY>
<DIV align=center>
<p> </p>
<FORM name= "FORM1 " onSubmit= "return FORM1_onsubmit() "
action= "record.asp " method= "post ">
<INPUT type= "hidden "value= " <%=rs( "id ")%> " name= "UserId ">
<TABLE cellSpacing=0 cellPadding=0 width=362>
<TBODY>
<TR>
<TD align=middle width= "372 ">
<TABLE width=388 border= "0 " cellPadding=5 cellSpacing=1 bgColor=#5A8BCE>
<TBODY>
<TR vAlign=top bgColor=#E6F7FF>
<TD width= "374 " colSpan=2>
<p align= "center " class= "style1 "> 购物结算--(第一步)收货人信息 </p> </TD>
</TR>
<TR bgColor=#eeeeee>
<TD width=103 bgColor=#EEEEEE height=7 align= "right ">
&nbs