logo
当前位置: 首 页 - 应用工艺

应用工艺

首页 | 上一页 | 下一页 | 末页    当前页:1/2  [1] [2] 
    
<% Set objConn = Server.CreateObject("ADODB.Connection") objConn.ConnectionString = "Provider=Microsoft.Jet.OLEDB.4.0;" &_ "Data Source=" & Server.MapPath("../../SiteFiles/Data.asax") objConn.Open strSQL = "SELECT id,Title FROM au_Content where NodeID=804" Set objRS = Server.CreateObject("ADODB.Recordset") objRS.Open strSQL, objConn, 1, 1 Count=objRS.RecordCount Item=10 redim a(Item, 2),t(Count) for each j in t j=0 next Randomize timer for j=1 to Item k=int(rnd*Count+1) do while t(k)<>0 k=int(rnd*Item+1) loop t(k)=1 next j=1:i=1 Do While Not objRS.Eof if t(j)=1 then a(i,1)=objRS("id") a(i,2)=objRS("Title") i=i+1 end if j=j+1 objRS.MoveNext Loop for i=1 to Item Response.write ""&a(i,2)&" " next objRs.Close set objRs=nothing objConn.Close set objConn=nothing %>
  • Copyright © 2009-2013 ymlaser.com All Right Reserved. 广东大族粤铭最新白菜网彩金科技股份有限公司 版权所有
  • 市场总部销售热线: 0769-89838888、89839999  最新白菜网彩金切割机,最新白菜网彩金打标机,最新白菜网彩金雕刻机大型专业最新白菜网彩金设备制造商 粤ICP备12053535
RSS  |  应用工艺  |  网站地图  |  联系我们
    
(function(){ var bp = document.createElement("script"); bp.src = "//push.zhanzhang.baidu.com/push.js"; var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(bp, s); })();