新人求助啊
asp吧
全部回复
仅看楼主
level 1
纵00凡天 楼主
代码如下
<%@LANGUAGE="VBSCRIPT" CODEPAGE="936"%>
<!--#include file="conn.asp"-->
<!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>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>无标题文档</title>
</head>
<body>
<%
set rs=conn.execute("select * from message1")
%>
<table width="200" border="1">
<tr>
<td>昵称</td>
<td>留言</td>
</tr>
<%
do while not rs.eof
%>
<tr>
<td><%=rs("strname")%></td>
<td><%=rs("strtxt")%></td>
</tr>
<%
rs.movenext
loop
%>
</table>
</body>
</html>
运行老是说缺少对象“
这是什么鬼啊
Microsoft VBScript 运行时错误 错误 '800a01a8'
缺少对象: ''
/程序/test5.asp,行 12
2016年04月24日 02点04分 1
level 1
应该是你没连接数据库
2016年04月24日 09点04分 3
链接了的 没链接的时候不是显示这样的错误
2016年04月24日 13点04分
level 1
我喜欢现在的自己,我怀念过去的我们。
2016年04月25日 05点04分 6
1