查询公告列表HAIRUICMS

/ / 2016-01-30   阅读:2558
<% set NoticeListRs=server.CreateObject("adodb.recordset") NoticeListRs.open "select top 5 ItemID,Item1 from Cuz_Notice where "&ItemRecT&" order by ItemID desc",conn,1,1...
<%
set NoticeListRs=server.CreateObject("adodb.recordset")
NoticeListRs.open "select top 5 ItemID,Item1 from Cuz_Notice where "&ItemRecT&" order by ItemID desc",conn,1,1

do while not NoticeListRs.eof
%>
<li><a href="/Notice/Show.asp?ItemID=<%=NoticeListRs("ItemID")%>" target="_blank"><%=NoticeListRs("Item1")%></a></li>
<%
NoticeListRs.movenext
loop
NoticeListRs.close
set NoticeListRs=nothing
%>

我要评论

昵称:
验证码:

最新评论

共0条 共0页 10条/页 首页 上一页 下一页 尾页
意见反馈