怎么全部会显示呀?
<%
sql = "select top 5 id,title from wm_document where ctype = '5' and area = '00' order by edate DESC"
rs.open sql,conn,1,1
While NOT rs.EOF
qrydetail = " <a href = 'dyzjshow.asp?code=" + cstr(rs("id")) + "'>"
%>
<tr bgcolor=#d4effc>
<td width = 25 valign=top align=middle><IMG height=12 src="images/arrow_o.gif" width=5 border=0></td>
<td class=a9 width = 160 valign=top><%=qrydetail%><font color=#000000><%=rs("title")%></font></A></td>
<td width = 15></td>
</tr>
<tr bgcolor=#d4effc>
<td width = 200 colspan=3 height=5></td>
</tr>
<%
rs.moveNext
Wend
rs.close
%>
我只想显示前5个,是不是要设定每页的大小呀?