首页 | 设为收藏| 联系我们|
高唐概况 | 兴农快讯 | 市场行情 | 农业科技 | 高唐特色 | 招商引资 | 气象服务
农副产品
蔬菜野菜 粮油棉麻
海鲜水产 干鲜果品
肉禽蛋奶 食用真菌
农业物资
化肥 农药 饲料 种子
其他
花卉 种苗 机械

工艺制品 兽药
供求热线
更多
更多
<% dim conn,sql,rs dim currentPage,counts dim cityid,cityids cityid=trim(request("cityid")) cityids=split(cityid,",") currentPage=trim(request("currentPage")) classid=request("classid") if currentPage="" then currentPage=1 set conn=server.createobject("ADODB.connection") set rs=server.createobject("ADODB.recordSet") conn.open("Provider=SQLOLEDB.1;Server=50.0.0.4;Database=sdxnw;UID=read;pwd=DSread17@8408;") sql="select * from SCXX_price" %> <% if classid="" then sql=sql & " where types2='蔬菜野菜' and cityid=19" '在此处修改cityid。 else sql=sql & " where types2=" & classid &"and cityid=19" '在此处修改cityid. ' for counts=0 to ubound(cityids) ' sql=sql & " or cityid=" & cityids(counts) ' next end if sql=sql & " order by dates desc" rs.PageSize=15 rs.CursorType=adOpenStatic rs.Open sql,conn if cint(currentPage)<1 then currentPage=1 if cint(currentPage)>rs.pageCount then currentPage=rs.PageCount if rs.eof then currentPage=0 if not rs.eof then rs.AbsolutePage=cint(currentPage) end if %>
<% counts=0 while not rs.eof and counts <%counts=counts+1 rs.movenext wend%>
名称 价格 单位 时间 交易地点 类型
<%=left(rs("name"),10)%> <%=rs("price")%> <%=rs("units")%> <%=left(rs("dates"),10)%> <%=left(rs("lxfs"),13)%> <%=rs("types")%>
        <%=currentPage%>/<%=rs.PageCount%>      纪录数:<%=rs.RecordCount%>                             首页   上一页   下一页   尾页

Copyright @ 2003 sdxnw.gov.cn All rights reserved. 山东兴农网 版权所有
鲁ICP备030012号