28,391
社区成员
发帖
与我相关
我的任务
分享
<%
page = 1 ' 设置第几页
pageSize = 20 ' 每页记录数
Set fc = MyFolder.Files
total = fc.Count
start = (page-1) * pageSize + 1
last = start + pageSize
i=0
For Each thing In fc
i = i+1
If i >= start And i < last And i <= total Then
str=thing
str=trim(right(str,17))
str="photos/" & str
showpic(str)
End If
If i>=total Then Exit For
Next
%>