ÇóÒ»¸ö±à³ÌºÃ°ì·¨£¬ÈçºÎͨ¹ý²úƷСÀàÕÒµ½´óÀࣨasp£©
id lbname topid ceng
1 ²úÆ·1 0 1
16 ²úÆ·2 0 1
17 ²úÆ·3 0 1
18 ²úÆ·4 0 1
19 ²úÆ·5 0 1
20 ²úÆ·6 0 1
21 ²úÆ·7 0 1
22 ²úÆ·8 0 1
23 ²úÆ·9 0 1
24 ²úÆ·10 0 1
25 ²úÆ·11 0 1
33 ²úÆ·12 1 2
34 ²úÆ·13 1 2
35 ²úÆ·14 34 3
ÒÔÉÏÊÇÒ»¸ö±í£¬ÒÑÖªid=35£¬ÈçºÎÕÒµ½Í¨¹ýtopid=34ÕÒµ½id=1£¬Çë¸ßÊֻشð£¬Ð»Ð»
¼ÙÉè±íÃûΪa¡£
select a.id from a,
(select topid from a where id=(select topid from a where id=35)) b
where a.id=b.topid;
¿ÉÒÔÓà ¡°ÓõݹéËã·¨¡± ¿ÉÒÔÈ¥ÍøÉÏËÑËÑ¿´¿´¾ßÌåµÄ½â´ð,×£Äã³É¹¦!
·ÖÀàÓ¦¸Ã²»¶à,Éú³Éµ½Ò»¸öÊý×éÀïÃæ
È»ºóÓõݹé,²Î¿¼ÎÞÏÞ¼¶ÏÂÀ²Ëµ¥
Ïà¹ØÎÊ´ð£º
µ±½áÊøʱ¼ä´óÓÚ¿ªÊ¼Ê±¼äÔòÏÔʾδÍê³É
µ±½áÊøʱ¼äСÓÚ¿ªÊ¼Ê±¼äÔòÏÔʾδ´ïµ½ÈÎÎñ
ûÓÐʱ¼äÔòÏÔʾÕýÔÚ½øÐÐÖÐ
asp´úÂëÓ¦¸ÃÔõôд
Èç:¿ªÊ¼Ê±¼ä ½áÊøʱ¼ä & ......
"title"Õâ¸öÖµ±£´æ²»ÁË?ÇëÎʸßÊÖ´íÎóÔÒò
<%set rs=server.createobject("adodb.recordset")
rs.open "select * from question",conn,1,3
if ......
ÎÒÓÐÒ»¸öaspÔ´Â룬µ«ÊdzöÏÖÒ»¸öÎļþ£¬ÎÒÓÃasp½âÃܶ¼ÊÇÂÒÂë
Çë½Ì
VBScript code:
??
%# , #&')*)-0-(0%()(?
(((((((((((((((((((((((((( ......
aspÓÐʲôºÃµÄ±à¼»·¾³Â𣿠ÓÐÄܵ÷ÊԵĻ·¾³Âð£¿
Èç¹ûÔÚsql°æ¿éÄܽâ¾ö£¬¾Í²»·Åµ½asp.netÁË
ASP
幫頂~~
ÒýÓÃ
Õâ¸ö²»ÓÃÎÊÁË°É£¬vs.net + iis
ºÜ·½±ãµÄ ......
ÈçÌ⣬°üÀ¨ÓÒ¼ü¸´ÖÆ£¬ºÍCtrl+C¶¼²»ÄÜ¡£
×Ô¼ºÏȶ¥Ò»¸ö
jsÆÁ±Î¼üÅÌ¡£
ÓÃJSÆÁ±ÎÕû¸öÒ³Ãæ²»Äܸ´ÖÆ
ÍøÒ³ÀïÆÁ±ÎÓÒ¼ü
¡´script¡µ
function click(){
if(event.button==2){
alert( '±¾ÍøÕ¾»¶Ó ......