天津机场航班到达查询:请教ASP SQL的问题 不胜感激!!!

来源:百度文库 编辑:杭州交通信息网 时间:2024/05/03 22:55:42
if (currentpage-1)*MaxPerPage>totalput then
if (totalPut mod MaxPerPage)=0 then
currentpage= totalPut \ MaxPerPage
else
currentpage= totalPut \ MaxPerPage + 1
end if
end if
if currentPage=1 then
showContent
showpage totalput,MaxPerPage,"more.asp"
else
if (currentPage-1)*MaxPerPage<totalPut then
rs.move (currentPage-1)*MaxPerPage
showContent
showpage totalput,MaxPerPage,"more.asp"
else
currentPage=1
showContent
showpage totalput,MaxPerPage,"more.asp"
end if
end if
rs.close
end if
sub showContent
dim i
i=0
do while not rs.eof
a_time=FormatDateTime(rs("news_time"))
a_title=trim(rs("title"))
if Len(minute(a_time))=1 then
a_minute="0"&minute(a_time)
else
a_minute=minute(a_time)
end if
什么意思呢?
能具体点么?
谢谢各位了

不好意思,不懂哦兄弟