日韩天天综合网_野战两个奶头被亲到高潮_亚洲日韩欧美精品综合_av女人天堂污污污_视频一区**字幕无弹窗_国产亚洲欧美小视频_国内性爱精品在线免费视频_国产一级电影在线播放_日韩欧美内地福利_亚洲一二三不卡片区

Asp三級(jí)聯(lián)動(dòng)下拉菜單數(shù)據(jù)庫(kù)版(含源程序)(3)_ASP教程

編輯Tag賺U幣
教程Tag:暫無(wú)Tag,歡迎添加,賺取U幣!

推薦:關(guān)于阻止灌水留言的一個(gè)方法(隨機(jī)生成的4位認(rèn)證碼)
原理:在每次提交留言的時(shí)候,要輸入隨機(jī)生成的4位認(rèn)證碼. 以下代碼用在ASP 生成隨機(jī)4位數(shù): % dim key randomize timer key=Int((8999)*Rnd +1000) % 在表單里顯示: 認(rèn)證碼:%=key% input type=text name=rekey size=8 maxlength=4 input value=%=key




</head>
<body>
<form action="untitled1.asp" method="post" name="myform">
  <p><br>
    <select name="biglocation" onChange="changelocation(document.myform.biglocation.options[document.myform.biglocation.selectedIndex].value)" size="1">
      <option selected>請(qǐng)選擇市</option>
      <% 
        
        sql1 = "select * from loaction order by loactionname asc"
        set rs1 = conn.Execute (sql1)
        do while not rs1.eof
        %>
      <option value="<%=trim(rs1("loactionid"))%>"><%=trim(rs1("loactionname"))%></option>
      <%
        rs1.movenext
        loop
        rs1.close
        set rs1 = nothing
        conn.Close
        set conn = nothing
        %>
    </select>
  </p>
  <p> 
    <select name="smalllocation" onChange="changelocation2(document.myform.smalllocation.options[document.myform.smalllocation.selectedIndex].value)">
      <option selected value="">==請(qǐng)選擇縣==</option>
    </select>
  </p>
  <p> 
    <select name="dlmc0" size="1">
      <option value="-1" selected>==請(qǐng)選擇鄉(xiāng)鎮(zhèn)==</option>
    </select>
  </p>
  <p> <br>
    <input type="submit" name="Submit" value="Submit">
    <br>
  </p>
</form>

</body>
</html>

分享:asp生成HTM靜態(tài)列表分頁(yè)(含代碼,已測(cè)試成功)
!--#include file=conn.asp-- htmlheadTITLE分頁(yè)測(cè)試/TITLELINK href=inc/style.css type=text/css rel=stylesheet/head %strHead=strHeadhtml strHead=strHeadhead strHead=strHeadTITLE分頁(yè)測(cè)試/TITLE strHead=strHeadLINK href=inc/style.cs

共3頁(yè)上一頁(yè)123下一頁(yè)
來(lái)源:模板無(wú)憂//所屬分類(lèi):ASP教程/更新時(shí)間:2010-04-14
相關(guān)ASP教程