Ò׽ؽØÍ¼Èí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

ASPÖжà±í²éѯ

ÎÒÓÐÁ½Õűí
±í1£º                ±í2£º
id  name ...          id ctrId  content ...
5  ¼×  ...          1  5      A      ...
6  ÒÒ  ...          2  5      B      ...
7  ±û  ...          2  6      C      ...
8  ¶¡  ...          2  6      D      ...

±í1ÖеÄÁÐidÓë±í2ÖеÄctrId¶ÔÓ¦£¬ÏÖÔÚÒªÏÈÈ¡³ö±í1ÖеÄÊý¾Ý£¬ÔÙ¸ù¾Ý±í1ÖеÄidÈ¡³ö±í¶þÖÐcrtId=idµÄËùÓÐÊý¾Ý£¬·Åµ½Ò»ÐмǼÖС£
±ÈÈç
id  name  content ...
5  ¼×    A,B    ...
6  ÒÒ    C,D    ...

ÇëÎʸÃÈçºÎʵÏÖ£¿
sql="select a.id,name,content from a,b where a.id=b.ctrid"
²éѯ³öÀ´ºóÓðÑctridÏàͬµÄ×éºÏ¡£

sql="select a.*,b.* from a left join b on a.id=b.ctrid"

sql="select a.id,name,(select content from b where a.id=b.ctrid) as cont from a"
ºÇºÇ
ÊÇËæÊÖдµÄ

¸Õ¿´³ö£¬¶ËÄßÀ´£¬ÄãµÄÊÇʲôÊý¾Ý¿â£¿ACCESS?
Èç¹ûÊÇ£¬ÐèÒªÔÚACEESSÀï×Ô¶¨ÒåÒ»¸öº¯Êý£¬ÕâÑù²Å»áÏÖʵ

»ù±¾Ïë˵µÄÂ¥ÉϵͼÒѾ­ËµÁË

ÊÇSQLµÄÊý¾Ý¿âŶ~~~

SQLÊý¾Ý¿â£¬¿ÉÒÔÊ


Ïà¹ØÎÊ´ð£º

Ò»¶Îaspתphp

<%if request.QueryString("start") <>"" then%>
<%if cint(start)>0 then%>
<a href="search.asp?q= <%=q%>&start= <%if request.Query ......

ÎÒÏë×öÒ»¸öaspÍøÕ¾£¬µ«ÊDz»ÖªµÀ×öʲô£¡

×î½üÎÒͨ¹ýѧϰ£¬¸Ð¾õ×Ô¼ºÑ§µÄ»¹¿ÉÒÔÁË£¬Ïë×öÒ»ÍøÕ¾£¬µ«ÊÇÒ»Ö±¶¼ÕÒ²»µ½Ìâ²Ä£¬²»ÖªµÀ×öʲô£¬Ï£Íû¸÷λ¸øÎÒµãÒâ¼û£¬Èç¹ûÓÐÐèÇóÎĵµ¾Í¸üºÃÁË£¡Ï£Íû´ó¼Ò¸øÎÒµãÒâ¼û£¬Ð»Ð»£¡
ÏÈ×ö¸öÆóÒµÍøÕ¾°É£¬ÎҸоõÒ»¸öÈË×öÍøÕ¾²»ÊÊÒË ......

asp±íµ¥Ìá½»ÎÊÌâ

Çë¸÷λ¸ßÊÖ°ï½â¾ö,¼±!!!
<script language="JavaScript" type="text/javascript">
function CheckInput(){
if (document.frm.loginname.length =0){
alert('ÇëÕý ......

³õʶasp,Çë¸ßÊÖÖ¸½Ì

ÎÒÏëÓÃaspд¸öÒ³ÃæÒÔǰûÓнӴ¥¹ý£¬ÎÒ¿´ÍøÉÏ˵aspµÄÔËÐл·¾³Ö»ÄÜÊÇwindows£¬»¹±ØÐëҪװIIS¡£
Çë½Ì¸÷λ¸ßÊÖ£¬asp»¹ÓÐÆäËûµÄÔËÐл·¾³Âð?
²î²»¶à¾ÍÕâЩÁË£¬¾ÍÊÇIISÒ»¶¨Òª×°ºÃ
»¹ÓÐÒªÊÇÓÃVS2005µÄ»°ºÃÏñ¿ÉÒÔÖ±½ÓÔ ......

aspÎÊÌâÇë½Ì

ÎÒÏë×ö¸öÍøÕ¾£¬ÔÚºǫ́½øÐÐÎļþÉÏ´«£¬±£´æµ½Êý¾Ý¿â£¬
ÔÚǰ̨±ðÈ˽øÐÐ×¢²á£¬È»ºó¿ÉÒÔÏÂÔØÖ¸¶¨µÄÎļþ¡£
ÀýÈçÓû§1£¬¿ÉÒÔÏÂÔØÎļþ1
    Óû§2£¬¿ÉÒÔÏÂÔØÎļþ2
Õâ¸öÓ¦¸ÃÔõôʵÏÖ°¡£¿£¿£¿
Óû§µÇ¼ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ