服务器行为‘动态文本’显示出错
正常的应该是
现在排列错误,变成这样,怎么弄
------解决方案--------------------代码呢?
------解决方案--------------------
<tr>
<%
While ((Repeat1__numRows <> 0) AND (NOT Recordset1.EOF))
%>
<td><%=(Recordset1.Fields.Item("员工编号").Value)%></td>
<td><%=(Recordset1.Fields.Item("姓名").Value)%></td>
<td><%=(Recordset1.Fields.Item("性别").Value)%></td>
<td><%=(Recordset1.Fields.Item("年龄").Value)%></td>
<td><%=(Recordset1.Fields.Item("电话").Value)%></td>
<%
Repeat1__index=Repeat1__index+1
Repeat1__numRows=Repeat1__numRows-1
Recordset1.MoveNext()
Wend
%>
</tr>
改成
<%
While ((Repeat1__numRows <> 0) AND (NOT Recordset1.EOF))
%>
<tr>
<td><%=(Recordset1.Fields.Item("员工编号").Value)%></td>
<td><%=(Recordset1.Fields.Item("姓名").Value)%></td>
<td><%=(Recordset1.Fields.Item("性别").Value)%></td>
<td><%=(Recordset1.Fields.Item("年龄").Value)%></td>
<td><%=(Recordset1.Fields.Item("电话").Value)%></td>
</tr>
<%
Repeat1__index=Repeat1__index+1
Repeat1__numRows=Repeat1__numRows-1
Recordset1.MoveNext()
Wend
%>