ASPÖÐÏòASPXÒ³´«Öµ¡£ ÖÐÎÄÈ¡²»µ½Öµ
ÓÖÓöµ½ÎÊÌâÀÖ¡£¡£
http://localhost/vsnet/LssearchC.aspx?searchtxt=Íõ&city1===Ñ¡ÔñÊ¡·Ý==&city2===Ñ¡ÔñÊÐ==&city3===Ñ¡ÔñÇø£¨ÏØ£©==
ÕâÊÇaspÀïÃæµÄ
<iframe src="vsnet/LssearchC.aspx?searchtxt= <%=searchtxt%>&city1= <%=city1%>&city2= <%=city2%>&city3= <%=city3%>" width="98%" height="500" frameborder="0" align="center" scrolling="auto">
´«ÏòaspxÒ³¡£ searchtxt Èç¹ûÊÇÊý×ÖºÍÓ¢ÎľÍÄÜÄõ½Öµ¡£ ÖÐÎÄÈ´Äò»µ½¡£¡£
Server.URLEncode(),½«ÄãµÄ¶«Î÷½øÐбàÂë, ±ÈÈç
&city1= <%=Server.URLEncode(city1)%>
Õâ¸öÊÔ¹ýÁË£¬£¬»¹ÊÇÎÞЧ¡£¡£
Èç¹û·¾¶ÖдøÓÐÖÐÎÄҲȡ²»µ½¡£¡£
Ïȼì²éÏ¿´ÄãµÄaspÒ³ÃæÎļþºÍaspxÒ³ÃæÎļþÊDz»ÊÇͬһÖÖ±àÂ룬ȻºóÓÃjs¸ø²ÎÊý±à£¬Âë·½·¨ºÃÏñ½Ðescape()¼Ç²»ÇåÁË
ÄãÄÜ·ñ½«ä¯ÀÀÆ÷ÄDZ߿´¼ûµÄhtmlÔ´úÂëÖеÄiframeµÄsrc·¢³öÀ´,¾¹ýURLEncodeºóµÄ,
ѧϰ
×îºó×Ô¼º½â¾öÁË¡£ Ò»¶ÎJSº¯Êý¡£
C# code:
<script runat="server" language="javascript">
Ïà¹ØÎÊ´ð£º
http://www.zgjhjy.com/Test/PrimaryTest/Index.aspx
¾ÍÊÇÀàËÆÒÔÉϵÄÔÚÏß²âÊÔϵͳ£¬ÐèÒªÓÐÒ»¸öºǫ́µÄ£¬ÓïÑÔÊÇaspµÄ£¬Êý¾Ý¿âÊÇaccessµÄ£¬»¹ÐèÒªÄÜÔÚºǫ́¶ÔÐÅÏ¢½øÐÐÌíɾ¸Ä²éµÄ¡£Ð»Ð»¸÷λÁË¡£¡£¡£
³ÌÐòÕæµÄºÜ¶à£¬²»Öª ......
¸÷λºÃ£¬ÎÒ¸Õ°ÑÒ»¸ö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Õ¾Àï ±¾ÉíÓÐ ......
×î½üÓöµ½Ò»¸öÎÊÌ⣬¾ÍÊÇÒ»¸ö³ÌÐòÖÐÓÐÒ»¸ö²é¿´ÊÕ¼þµÄ¹¦ÄÜ£¬ÒòΪÎļþ½Ï¶à£¬ÓÐͼƬ¡¢Exal..... ÎÒÏëÔÚÒ»¸öÁбíÖÐÏÔʾ³öËüÃǵÄËõÂÔͼ£¬»¹ÓÐÒ»µã£¬ÎÒ´æ·ÅÊý¾Ý¿âµÄ·½Ê½ÊÇÓöþ½øÖÆ·½Ê½£¬¿ª·¢ÓïÑÔ asp.net(C#) Çë¸÷λ¸ßÊÖ°ïà ......
ASPÎļþÀÏÊDZ»È˲åÈë´úÂ룬ºÜ¶àÀ¬»øµØÖ·±»¹ÒÉÏÈ¥£¬ËÄÜ°ï°ïÎÒ£¿
¸æËßÎÒ©¶´ÔÚÄÄÀÎÒµÄQQ 33186001
¹Ø±ÕÍøÕ¾µÄfso¡£ÓõÄʱºòÔÚ¿ª¿ª¾ÍÊÇÀ²¡£
ÏÖÔÚµÄÐéÄâÖ÷»úÓɶÁдȨÏÞ£¬ÉèΪֻ¶Á¼´¿É¡£×Ô¼ºÓÃÓÃftpµÄʱºòÔÚ¿ª¿ª¡£ ......