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

asp+sql2000存儲(chǔ)過(guò)程分頁(yè)實(shí)例(4)_ASP教程

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

推薦:ASP點(diǎn)擊刷新驗(yàn)證碼實(shí)例代碼
現(xiàn)在網(wǎng)站上大部分的驗(yàn)證碼都是圖片驗(yàn)證碼,就跟 http://dwww.cn/Books.asp 下邊的一樣。 用戶(hù)可能長(zhǎng)時(shí)間的停留在頁(yè)面上,等到最后提交的時(shí)候,驗(yàn)證碼就可能過(guò)期了。所以要加個(gè)刷新的功能。 驗(yàn)證碼:input name='checkimg' type='text' class='input' id='che


<table width="800" height="46" border="1" align="center">
<form action="list.asp" method="post">
<tr>
<td colspan="3">關(guān)鍵字:<input type="text" name="key" /> <input type="radio" value="how" name="kind" />功能<input type="radio" checked="checked" value="what" name="kind" />產(chǎn)品<input type="radio" value="ip" name="kind" />廠家
<input type="submit" name="Submit" value="搜 索" />
</td>
</tr></form>
</table>
<table width="800" height="46" border="1" align="center">
<tr>
<td height="35" align="center"><strong>代理區(qū)域</strong></td>
<td align="center"><strong>要求代理品種 </strong></td>
<td height="35" align="center"><strong>性質(zhì)</strong></td>
<td height="35" align="center"><strong>發(fā)布時(shí)間</strong></td>
</tr>
<%
do while not rs.eof
%>
<tr>
<td height="30"><%=rs("id")%></td>
<td height="30"><%=rs("ip")%></td>
<td height="30"><%=rs("into_time")%></td>
<td height="30">&nbsp;</td>
</tr>
<%
rs.movenext
loop
%>
</table>
<table width="800" height="46" border="1" align="center">
<form action="list.asp" method="post" name="fenye" onsubmit="return checkpage()">
<tr>
<td colspan="3" align="center">共<%=TotalRs%>條 <%=PageNum%>條/頁(yè) 當(dāng)前第<%=Page%>/<%=TotalPage%>頁(yè)
<%if TotalPage=1 or TotalPage=0 then
response.Write "&nbsp;首頁(yè) 上一頁(yè)&nbsp;下一頁(yè) 末頁(yè)"
else
%>
<%if page=1 then
response.Write"&nbsp;首頁(yè) 上一頁(yè)&nbsp;<a href='list.asp?page="&page+1&"&key="&key&"&kind="&kind&"&trs="&trs&"&tpa="&tpa&"'>下一頁(yè)</a> <a href='list.asp?page="&TotalPage&"&key="&key&"&kind="&kind&"&trs="&trs&"&tpa="&tpa&"'>末頁(yè)</a>"
end if%>
<%if page>1 and page<TotalPage then
response.Write"<a href='list.asp?page=1&key="&key&"&kind="&kind&"&trs="&trs&"&tpa="&tpa&"'>首頁(yè)</a> <a href='list.asp?page="&page-1&"&key="&key&"&kind="&kind&"&trs="&trs&"&tpa="&tpa&"'>上一頁(yè)</a> <a href='list.asp?page="&page+1&"&key="&key&"&kind="&kind&"&trs="&trs&"&tpa="&tpa&"'>下一頁(yè)</a> <a href='list.asp?page="&TotalPage&"&key="&key&"&kind="&kind&"&trs="&trs&"&tpa="&tpa&"'>末頁(yè)</a>"
end if
end if
%>
<%if page=TotalPage then
response.Write"<a href='list.asp?page=1&key="&key&"&kind="&kind&"&trs="&trs&"&tpa="&tpa&"'>首頁(yè)</a> <a href='list.asp?page="&page-1&"&key="&key&"&kind="&kind&"&trs="&trs&"&tpa="&tpa&"'>上一頁(yè)</a> 下一頁(yè) 末頁(yè)"
end if%>
轉(zhuǎn)到第<input id="gopage" maxlength="10" size="5" value="<%=page%>" name="page"/>頁(yè)<input id="submit123" type="submit" value="Go" name="submit123"/><input type="hidden" value="<%=TotalRs%>" name="trs"/><input type="hidden" value="<%=TotalPage%>" name="tpa"/>
<input type="hidden" name="keyword" value="<%=keyword%>"/><input type="hidden" name="kind" value="<%=kind%>"/></td>
</tr>
</form>
</table>
</body>
</html>
<%
rs.close
set rs=nothing
conn.close
set conn=nothing
%>

來(lái)源:csdn

分享:ASP實(shí)現(xiàn)js圖片的輪顯
下午做了一個(gè)asp+js實(shí)現(xiàn) 圖片的輪顯的效果,效果圖 如: 左側(cè)的圖片輪顯,在 我用的是js,然后我改了一下用asp實(shí)現(xiàn)效果 的。 pic.asp源代碼: % '連接數(shù)據(jù)庫(kù)代碼省去了 sql=(select * from Pic order by picorder asc,id desc) Set rs=server.CreateObject(

共4頁(yè)上一頁(yè)1234下一頁(yè)
來(lái)源:模板無(wú)憂(yōu)//所屬分類(lèi):ASP教程/更新時(shí)間:2012-06-08
相關(guān)ASP教程