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Êý¾Ý¿â£¬¿ÉÒÔÊ
Ïà¹ØÎÊ´ð£º
<%if request.QueryString("start") <>"" then%>
<%if cint(start)>0 then%>
<a href="search.asp?q= <%=q%>&start= <%if request.Query ......
×î½üÎÒͨ¹ýѧϰ£¬¸Ð¾õ×Ô¼ºÑ§µÄ»¹¿ÉÒÔÁË£¬Ïë×öÒ»ÍøÕ¾£¬µ«ÊÇÒ»Ö±¶¼ÕÒ²»µ½Ìâ²Ä£¬²»ÖªµÀ×öʲô£¬Ï£Íû¸÷λ¸øÎÒµãÒâ¼û£¬Èç¹ûÓÐÐèÇóÎĵµ¾Í¸üºÃÁË£¡Ï£Íû´ó¼Ò¸øÎÒµãÒâ¼û£¬Ð»Ð»£¡
ÏÈ×ö¸öÆóÒµÍøÕ¾°É£¬ÎҸоõÒ»¸öÈË×öÍøÕ¾²»ÊÊÒË ......
Çë¸÷λ¸ßÊÖ°ï½â¾ö,¼±!!!
<script language="JavaScript" type="text/javascript">
function CheckInput(){
if (document.frm.loginname.length =0){
alert('ÇëÕý ......
ÎÒÏëÓÃaspд¸öÒ³ÃæÒÔǰûÓнӴ¥¹ý£¬ÎÒ¿´ÍøÉÏ˵aspµÄÔËÐл·¾³Ö»ÄÜÊÇwindows£¬»¹±ØÐëҪװIIS¡£
Çë½Ì¸÷λ¸ßÊÖ£¬asp»¹ÓÐÆäËûµÄÔËÐл·¾³Âð?
²î²»¶à¾ÍÕâЩÁË£¬¾ÍÊÇIISÒ»¶¨Òª×°ºÃ
»¹ÓÐÒªÊÇÓÃVS2005µÄ»°ºÃÏñ¿ÉÒÔÖ±½ÓÔ ......
ÎÒÏë×ö¸öÍøÕ¾£¬ÔÚºǫ́½øÐÐÎļþÉÏ´«£¬±£´æµ½Êý¾Ý¿â£¬
ÔÚǰ̨±ðÈ˽øÐÐ×¢²á£¬È»ºó¿ÉÒÔÏÂÔØÖ¸¶¨µÄÎļþ¡£
ÀýÈçÓû§1£¬¿ÉÒÔÏÂÔØÎļþ1
Óû§2£¬¿ÉÒÔÏÂÔØÎļþ2
Õâ¸öÓ¦¸ÃÔõôʵÏÖ°¡£¿£¿£¿
Óû§µÇ¼ ......