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
Ïà¹ØÎÊ´ð£º
sqlserverµÄÊý¾Ý¿â£¬×Ö¶ÎÊÇimageÀàÐ͵ġ£Ôõôд´úÂ룬ÔÚÒ³ÃæÖеã»÷¡°ÏÂÔØ¡±¾ÍÄÜ´ò¿ªÄǸöÏÂÔØ¶Ô»°¿ò£¿
PS£ºOracleLob ÔÚsqlserverÀïÊÇʲô£¿
Response.Redirect("test.jpg")
ÒýÓÃ
Response.Redirect( ......
¸÷λºÃ£¬ÎÒ¸Õ°ÑÒ»¸öASPÍøÕ¾ÉèÖúÃÁË£¬Ò²ÄÜÕý³£·ÃÎÊ¡£µ«ÊÇÔÚÎÒ±¾»úÉϲ»ÄÜ´ò¿ªadmin\login.asp,ËùÒÔÎÞ·¨ÊµÏÖºǫ́¹ÜÀí¡££¨´íÎóÌáʾÎÞ·¨ÕÒµ½ÍøÒ³£¬´úÂë404£¬ÎҵIJÙ×÷ϵͳÊÇwin2000 server)
µ«ÊÇÆæ¹ÖµÄÊÇÔÚ¾ÖÓòÍøµÄÆäËû» ......
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Õ¾Àï ±¾ÉíÓÐ ......
<tr>
<td width="700" valign="top" align="left">
<!--¼ÓÔØÊý¾Ý¿â²úÆ·Áбí°üº¬·ÖÒ³´úÂ뿪ʼ -->
<tabl ......
ÄÄλÄܸø¸öasp.net webformÊ×Ò³µÄÀý×Ó£¬
ÒªÇó£º
1¡¢Ê¹ÓÃframe¿ò¼ÜÒ³
2¡¢frame×ó²àΪtreeviewµ¼º½
Asp.netÖÐFramesetµÄʹÓÃ
http://blog.csdn.net/liangjingbo/archive/2006/10/19/1341423.aspx
ͬÒâÂ¥ÉÏ ......