代码如下
<%@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
<%@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