asp·ÖÒ³ÒÉÎÊ - Web ¿ª·¢ / ASP
ÎÒÏÖÔÚÓиö·ÖÒ³³ÌÐò£¬Ã¿Ò³Ö»ÄÜÏÔʾ10Ìõ£¬ÉèÖóÉ20Ìõ¾ÍÓÐÎÊÌâ¡£³ýÁ˵ÚÒ»Ò³Õý³££¬ºóÃæµÄÒ³Êý¶¼ÓÐ10ÌõºÍÇ°Ò»Ò³µÄ10ÌõÊÇÖظ´µÄ¡£ÕâЩ´úÂëû¿´Ã÷°×£¬²»ÖªµÀÄÄÀïÏÞÖƳÉ10ÌõÁË¡£
<div id="global" class="cleft">
<div id="top_google_ad"></div>
<table class="tblist" cellpadding="0" cellspacing="0" id="infolist">
<%
Set rs= Server.CreateObject("ADODB.Recordset")
sql="select * from art where tid="&tid&" order by addtime desc"
rs.open sql,conn,1,1
if rs.eof then
response.Write"<tr><td class=""center"" style=""width:100%""><b>¸Ã·ÖÀàûÓÐÐÅÏ¢¡£</b></td></tr>"
else
pageno=int(request("pageno"))
pagenum=rs.pagecount
if request("pageno")="" or pageno>pagenum then
pageno=1
else
pageno=pageno
end if
rs.absolutepage=pageno
showpagenum=20
rs.PageSize=20
for i=1 to rs.pagesize
if rs.eof then
exit for
end if
response.write"</tr>"
%>
<td class="t"> <a href="<%=siteweburl%>art.asp?id=<%=rs("id")%>" target="_blank" class="t"><%=r
Ïà¹ØÎÊ´ð£º
function CheckOpwd(){//ÑéÖ¤Óû§Ãû
var pwd=document.all.txtOpwd;
var div1=document.getElementById("divPwd");
if (pwd.value=="")
{
......
´ó¼ÒºÃ!ÎÒÊÇÒ»¸öѧÉú,ÏÖÔÚÊÇѧASPµÄ²»ÖªµÀÔõô»ØÊÂ,ÎÒ×Ô¼ºÊÇÓÃCMS×ö¹ýÍøÕ¾ ´úÂëÒ²ÄÜ¿´¶®Ò»µã ÏÖÔÚÏëÂò±¾Êé,Ïë·¨Óкܶà,¾ÍÊÇÏëÂòASPµÄ ÓÖ¿´µ½´ó¼Ò˵ASPÒÔºóûÓÐNETÇ°¾°ºÃ,ÎÒÓÖÏëÔÙÈ¥Âò±¾ASP.NETµÄ ÎÒÖªµÀÓÐÕâÑùµÄÏë·¨ ......
ÎÒ×î½ü×öÁËÒ»¸öÍøÕ¾ÊǹØÓÚ²úƷչʾµÄ ~ Õû¸öÍøվͼƬ¶¼Õ¼ÓÃÁËÒ»´ó°ë
ÕâÑùµÄ»°·ÃÎÊËٶȾͷdz£Âý ÓÐʲô°ì·¨¿ÉÒÔ½â¾öÂð£¿
Âé·³´ó¼Ò¶à¶à¸øµãÒâ¼û £¡ ÓÐʲô¾¡¹Ü˵
3Q´ó¼Ò
htmlÒ³Ãæ.
Õâ¸ö,¼ÈÈ»Ö÷Ò ......
SQL code:
rs.open "select * from guide where city_name='±±¾©' order by pai desc",conn,1,1
do while not rs.eof or rs.bof
¡£¡£
¡£¡£
¡£¡£
rs.movenext
loop
Õâ¸ösqlÓï¾äÔÚwapÕ¾Àï ±¾ÉíÓÐ ......
¹ØÓÚasp.net md5 32λ¼ÓÃܽâÃÜ
ÓÐûÓÐÈË¿ÉÒÔд¸öÀà¡£
²¢Ïêϸ½âÊÍһϣ¬±¾È˺ܲ»Àí½â32λmd5
C# code:
public string md5(string str,int code)
2{
3 if(code==16) //16λMD5¼ÓÃÜ£¨È¡32λ¼ÓÃܵÄ9~25× ......