ASPÑ»¯¶ÁÈ¡ÐÔÄÜÇë½Ì£¡ - Web ¿ª·¢ / ASP
sql="xxxxxxx" rs.open sql conn,1,1 Do while not rs.eof ID=¶ÁÈ¡µÄid ÏÂÃæÔÙ¸ù¾Ý¶ÁÈ¡µÄÕâ¸öID.µ÷ÓñðµÄ¸ö±íÄÚÈݵÄʱºò£¬¾ÍÑÏÖØÓ°ÏìÁ˶ÁÈ¡ËÙ¶È Response.write aaaaa(ID) rs.movenext Loop Function aaaaa(str) set rss=Server.CreateObject("adodb.recordset") sql = "Select Áбí from ±í where ID="&str&" order by idd asc" rss.Open sql, Conn, 1, 1 If Not(rss.bof And rss.eof) Then cc="dddddddddddddddddddddd" End if:rss=nothing aaaaa=cc End Function Çë¸ßÊÖÖ¸µãһϣ¬Èç¹û²»Ó°ÏìËÙ¶È
ÄãÕâ2¸öID¹ØÁªÆðÀ´£¬ÓÃ1¸öSELECT²éѯ³öÀ´£¬ È»ºó·Åµ½Êý×éÀȻºóÔÙÏëÔõô¸ã¾ÍÔõô¸ã ×¢Òâ±íÖÐÊÇ·ñÓб¸×¢×ֶΣ¬²»¹ÜÀïÃæÓÐûÓж«Î÷£¬ÔÚÒ»¸öÒ³Ãæµ÷ÓÃÒ»¸öÒÔÉϵı¸×¢×ֶζ¼»áÑÏÖØÓ°ÏìËÙ¶ÈÒýÓà ÄãÕâ2¸öID¹ØÁªÆðÀ´£¬ÓÃ1¸öSELECT²éѯ³öÀ´£¬ È»ºó·Åµ½Êý×éÀȻºóÔÙÏëÔõô¸ã¾ÍÔõô¸ã ·ÖÀà±í¡£ÄÚÈÝ±í¡£ µØÖ·±í ÏÖÔÚ¶ÁÈ¡·ÖÀ࣬ÒѾ°ÑclassidºÍÄÚÈݱíµÄ·ÖÀàID¹ØÁªÁË ÓÃÁËinner join µ«µØÖ·±í£¬»¹Òª¶ÁÈ¡ÄÚÈݱíµÄIDÔÙ¶ÁÈ¡µØÖ·£¬ Ö»ÄÜÑ»·¶ÁÈ¡³öÄÚÈݱíµÄIDºó£¬²ÅÄܸù¾ÝID¶ÁÈ¡µØÖ·±íµÄÄÚÈÝ°¡£¬ Èç¹ûÈý¸ö±í¶¼¹ØÁª£¬»¹²»»á£¬Âé·³Ö¸µãһϠ¸ø³öÏêϸ´úÂë±í½á¹¹£¬Çë¸÷λ´ó¸ç°ï·ÖÎöһϣ¬Èç¹û²ÅÄܲ»Ó°ÏìËٶȣ¡ <% Sql = "select B.ÄÚÈݱíID,B.·ÖÀàµÄID,B.ÄÚÈݱêÌâ, from ·ÖÀà±í a inner join ÄÚÈݱí b on a.·ÖÀàID=b.·ÖÀàID where
Ïà¹ØÎÊ´ð£º
aspÐéÄâÖ÷»úʵÏÖα¾²Ì¬µÄ·½·¨£º 1¡¢ ÖØдurl²ÎÊý Step1: ½¨Á¢Ç°Ì¨Îļþindex.asp£¬ÐÞ¸Äurl²ÎÊýÐÎʽ¡£ÓÉÓÚ¶ÁÈ¡Êý¾Ý¿âÖеļǼ²»ÊÇרÌâµÄÖص㣬¹ÊÖ±½Ó¸ø³ö: <!--#include file="config.asp" --> &l ......
1.asp.net×öµÄÒ»¸ö´ðÌâÒ³Ã棬ÈçºÎʵʱÏÞʱºó×Ô¶¯Ìá½»£¬Çë´ó¼Ò¸øµã˼· ÏÞʱµÄʱ¼äÐÅÏ¢´æ·ÅÔÚÊý¾Ý¿âÖÐ 2.Èç¹û´ðÌâʱ¼äÉèÖõĽϳ¤£¬ÈçºÎ·½Ê½session³¬Ê±ºóÒ³ÃæÎÞЧ лл ÓÃjs·½·¨À´¿ØÖÆ »Ø¸´ÄÚÈÝÌ«¶ÌÁË¡£¡£ js ......
¾ÍÊÇÒ»¸ö°´Å¥£¬µã»÷Ö®ºó´ò¿ª¶Ô»°¿ò£¬È»ºóѡȡͼƬ¡£¾ÍÕâÑùÉÏ´«¡£¡£ ÔõôʵÏÖ¡£ÔÚÍøÉÏËѵ½ÄÇô¶àµÄ´úÂ룬ȫÊǺܶàµÄÄÇÖÖ£¬²»ÖªµÀ£¬¿´²»ÏÂÈ¥¡£ ËùÒÔÔÚÕâÀïÏëÇë´ó¸ç´ó½ã°ï°ïæ¡£ ʹÓÃ×Ô´øµÄfileupload¿Ø¼þ¿ÉÒÔʵÏÖ ......
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Öе±²»Í¬µØ·½µÄÓû§´ò¿ªÍøҳʱÔõôÔÚÎı¾¿òÖÐÏÔʾËûµÄËùÔÚµØ,¾ÍÏñÉêÇëQQʱ£¬Ñ¡ÔñËùÔÚµØÒ»Ñù. ¸ù¾ÝIPµØÖ·Åжϣ¬ÍøÉÏÓиù¾ÝIP·µ»ØµØÇøµÄWebserivce£¬µ÷ÓþͿÉÒÔÁË ÒýÓà ¸ù¾ÝIPµØÖ·Åжϣ¬ÍøÉÏÓиù¾ÝIP·µ»Øµ ......