请问在asp里table表格怎么才能循环?求如何实现?

<%
response.charset = "GBK"
if request.cookies("guest")("username")="" then
response.write "<script>alert('非法操作1!');history.back();</script>"
response.end
end if
%>
<!--#include file="conn.asp"-->
<%
dim rs,sql
set rs = server.createobject("adodb.recordset")
sql = "select * from G_Note where G_ToUser='"&request.cookies("guest")("username")&"'"
rs.open sql,conn,1,1
%>以上是头部
一次增加一条呢?
<div id="contentmember">
<h1>会员个人中心</h1>
<div>
<p style="text-align:center;height:30px;line-height:30px;">收件箱 | 发件箱</p>
<table border="1">
<tr><th>发件人</th><th>发件内容</th><th>发件时间</th></tr>
<%
do while not rs.eof
%>
<tr><td>发件人</td><td>发件内容</td><td>发件时间</td></tr>
<%
rs.movenext
loop
%>
</table>
</div>
</div>
把而变成一条了,请朋友们给看看

慕娘9325324
浏览 269回答 1
1回答

慕码人8056858

<table border="1"><tr><th>发件人</th><th>发件内容</th><th>发件时间</th></tr><%do while not rs.eof%><tr><td>发件人</td><td>发件内容</td><td>发件时间</td></tr><%rs.movenextloop%></table>改成:<table border="1"><tr><td>发件人</td><td>发件内容</td><td>发件时间</td></tr><%do while not rs.eof%><tr><td>发件人</td><td>发件内容</td><td>发件时间</td></tr><%rs.movenextloop%></table>
打开App,查看更多内容
随时随地看视频慕课网APP