asp fso读取文件 按照时间排序
<%
MaxPerPage=3
fder= "image "
Set fso = CreateObject( "Scripting.FileSystemObject ")
set objfolder=fso.GetFolder(server.mappath(fder))
%>
<table width= "6% " border= "1 " cellspacing= "0 " cellpadding= "3 " align= "center " bordercolorlight= "#ECEEE4 " bordercolordark= "#CCCABC ">
<tr bgcolor= "#FFFFFF ">
<%
for each objfile in objfolder.files
if FileCount> =MaxPerPage then
elseif c> MaxPerPage*(CurrentPage-1) then
%>
<td>
<img src= " <%=(fder & "/ " & objfile.name)%> " width= "120 " height= "100 ">
</td>
<%
FileCount=FileCount+1
end if
next
%>
</tr>
</table>
现在可显示出三张图片,但这三张图片是按文件名顺序排列的,请问各位大哥用文件的属性要怎么加代码,图片可以按创建时间的顺序排列?(最好把原码写出来)
------解决方案--------------------http://shfranklee.cnblogs.com/archive/2005/04/16/138843.html
------解决方案--------------------看看,前段时间有个发帖问取得摘要信息的
取创建时间用fso就能搞定。