日期:2014-05-17 浏览次数:20807 次
rs.open "select [时间], [标题] from 表 order by [时间]",conn,1,3 tmp="":nowtmp="" while not rs.eof tmp=year(rs(0))&"-"&month(rs(0))&"-"&day(rs(0)) if nowtmp<>tmp then if nowtmp<>"" then response.write "<br/>" response.write rs(0)&" : "&rs(1) nowtmp=tmp else response.write ","&rs(1) end if rs.movenext wend rs.close