dw 重复区域不能转行,高手帮忙

重复区域设置之后,都是在一横排上重复,不能竖着重复,代码是:<%While((Repeat1__numRows<>0)AND(NOTRecordset1.EOF))%><... 重复区域设置之后,都是在一横排上重复,不能竖着重复,代码是:
<%
While ((Repeat1__numRows <> 0) AND (NOT Recordset1.EOF))
%>
<td><div align="center"><%=(Recordset1.Fields.Item("m_id").Value)%></div></td>
<td><div align="center"><%=(Recordset1.Fields.Item("m_name").Value)%></div></td>
<td><div align="center"><A HREF="edituser.asp?<%= Server.HTMLEncode(MM_keepNone) & MM_joinChar(MM_keepNone) & "m_id=" & Recordset1.Fields.Item("m_id").Value %>">编 辑</A></div></td>
<td><A HREF="deluser.asp?<%= Server.HTMLEncode(MM_keepNone) & MM_joinChar(MM_keepNone) & "m_id=" & Recordset1.Fields.Item("m_id").Value %>">删 除</A></td> <%
Repeat1__index=Repeat1__index+1
Repeat1__numRows=Repeat1__numRows-1
Recordset1.MoveNext()
Wend
%>
</tr>

请问是什么地方出了问题啊?
展开
 我来答
wwwl20
2007-06-14 · TA获得超过111个赞
知道小有建树答主
回答量:225
采纳率:0%
帮助的人:221万
展开全部
你要把<%
While ((Repeat1__numRows <> 0) AND (NOT Recordset1.EOF))
%>
放在<tr>上,把
<%
Repeat1__index=Repeat1__index+1
Repeat1__numRows=Repeat1__numRows-1
Recordset1.MoveNext()
Wend
%>
放在</tr>下
下面我已经改好了

<%
While ((Repeat1__numRows <> 0) AND (NOT Recordset1.EOF))
%>
<tr>
<td><div align="center"><%=(Recordset1.Fields.Item("m_id").Value)%></div></td>
<td><div align="center"><%=(Recordset1.Fields.Item("m_name").Value)%></div></td>
<td><div align="center"><A HREF="edituser.asp?<%= Server.HTMLEncode(MM_keepNone) & MM_joinChar(MM_keepNone) & "m_id=" & Recordset1.Fields.Item("m_id").Value %>">编 辑</A></div></td>
<td><A HREF="deluser.asp?<%= Server.HTMLEncode(MM_keepNone) & MM_joinChar(MM_keepNone) & "m_id=" & Recordset1.Fields.Item("m_id").Value %>">删 除</A></td> </tr>
<%
Repeat1__index=Repeat1__index+1
Repeat1__numRows=Repeat1__numRows-1
Recordset1.MoveNext()
Wend
%>
亓罗藩范
2020-07-07 · TA获得超过3765个赞
知道大有可为答主
回答量:3044
采纳率:29%
帮助的人:222万
展开全部
你要把<%
While
((Repeat1__numRows
<>
0)
AND
(NOT
Recordset1.EOF))
%>
放在<tr>上,把
<%
Repeat1__index=Repeat1__index+1
Repeat1__numRows=Repeat1__numRows-1
Recordset1.MoveNext()
Wend
%>
放在</tr>下
下面我已经改好了
<%
While
((Repeat1__numRows
<>
0)
AND
(NOT
Recordset1.EOF))
%>
<tr>
<td><div
align="center"><%=(Recordset1.Fields.Item("m_id").Value)%></div></td>
<td><div
align="center"><%=(Recordset1.Fields.Item("m_name").Value)%></div></td>
<td><div
align="center"><A
HREF="edituser.asp?<%=
Server.HTMLEncode(MM_keepNone)
&
MM_joinChar(MM_keepNone)
&
"m_id="
&
Recordset1.Fields.Item("m_id").Value
%>">编
辑</A></div></td>
<td><A
HREF="deluser.asp?<%=
Server.HTMLEncode(MM_keepNone)
&
MM_joinChar(MM_keepNone)
&
"m_id="
&
Recordset1.Fields.Item("m_id").Value
%>">删
除</A></td>
</tr>
<%
Repeat1__index=Repeat1__index+1
Repeat1__numRows=Repeat1__numRows-1
Recordset1.MoveNext()
Wend
%>
已赞过 已踩过<
你对这个回答的评价是?
评论 收起
推荐律师服务: 若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询

为你推荐:

下载百度知道APP,抢鲜体验
使用百度知道APP,立即抢鲜体验。你的手机镜头里或许有别人想知道的答案。
扫描二维码下载
×

类别

我们会通过消息、邮箱等方式尽快将举报结果通知您。

说明

0/200

提交
取消

辅 助

模 式