记录集横向换行显示
答案:2 悬赏:50 手机版
解决时间 2021-11-22 15:12
- 提问者网友:我们很暧昧
- 2021-11-22 09:19
记录集横向换行显示
最佳答案
- 五星知识达人网友:十年萤火照君眠
- 2021-11-22 10:04
将Dim Repeat1__numRows
......
<%
的代码换为如下:
Dim tblstr, j, k
If Recordset1.RecordCount Mod 3 = 0 Then
j = Recordset1.RecordCount
Else
j = Recordset1.RecordCount + 3 - (Recordset1.RecordCount Mod 3)
End If
k = 1
Recordset1.MoveFirst
tblstr = " "
"
response.write tblstr
......
<%
的代码换为如下:
Dim tblstr, j, k
If Recordset1.RecordCount Mod 3 = 0 Then
j = Recordset1.RecordCount
Else
j = Recordset1.RecordCount + 3 - (Recordset1.RecordCount Mod 3)
End If
k = 1
Recordset1.MoveFirst
tblstr = "
" & Recordset1.Fields.Item("name").Value & " | "空位 | "
response.write tblstr
全部回答
- 1楼网友:轮獄道
- 2021-11-22 10:55
a
我要举报
如以上问答信息为低俗、色情、不良、暴力、侵权、涉及违法等信息,可以点下面链接进行举报!
大家都在看
推荐资讯