asp´úÂ룬accessÊý¾Ý¿â£¬²éѯÎÊÌâ
Êý¾Ý¿â±íÃûΪ£ºtable1
ÆäÖÐÒ»¸ö×Ö¶ÎÃûΪ£ºname1
name1 ÖÐÄÚÈÝ¿ÉÄÜÊÇ£ºÄã ºÃ
×¢£º¡°ÄãºÃ¡±ÕâÁ½¸ö×ÖÖмäµÄ¿Õ¸ñ²»ÄÜÈ·¶¨¶àÉÙ¸ö
ÇëÎÊÔõô²ÅÄܵ±ÊäÈë¡°ÄãºÃ¡±ÕâÁ½¸ö×ÖµÄʱºò£¬¿ÉÒÔ²éѯ³öº¬ÓС°Ä㠺ᱵļÇÂ¼ÄØ
keyw="ÄãºÃ"
sql="select * from table1 where name1='"&keyw&"' order by id"
ÇëÎÊÉÏÃæÕâ¾ä»°Ôõô¸Ä²ÅÄÜÕýÈ·²éѯ³öÀ´ÄØ£¿£¿
×¢£ºÕâÑùдÊDZ¨´íµÄ£ºsql="select * from table1 where replace(name1,' ','')='"&keyw&"' order by id"
²»ÖªÂ¥Ö÷µÄÒâ˼ÊDz»ÊÇ¶à¹Ø¼ü×Ö¸´ºÏ²éѯ ¡£¡£
Äã¿ÉÒÔÏȶ¨Ò幨¼ü×ÖÊäÈ뷽ʽ ÿ¸öÖ®¼äÓà , »òÕß | ·Ö¸î .. È»ºóÄã»ñÈ¡µÄʱºò split ·Ö¸îһϠ£¡
aa = split(»ñÈ¡µÄÖµ£¬"¶¨ÒåµÄ·Ö¸î·û")
È»ºó
sql="select * from table1 where 1=1"
for i=0 to UBound(aa)
sql = sql&" and name1 like '%"&aa(i)&"'%"
next
sql = sql&" order by..."
ÕâÑùÓ¦¸ÃÄÜʵÏÖÄãÒªµÄЧ¹û µ«ÓÐЩϸ½ÚÐèÒª´¦Àí ..ÄãÔÚ×ÐϸÑо¿Ò»Ï !
sql = sql&" and name1 like '%"&aa(i)&"'%" Õâ¾ä»°ºóÃæÓ¦¸Ã¼Ó¸ö OR Ç°ÃæµÄAND Ò²Ó¦¸ÃÌáµ½ÉÏÃæ1=1 ÄÇÀï Âé·³¾ÍÔÚÕâÀï ÎÒ»èÁË Ä㻹ÇåÐÑ°É .. ÄǾͽ»¸øÄãÈ¥×ö°É !
key = "ÄãºÃ"
keys = "%"
for i = 0 to len(key)
Ïà¹ØÎÊ´ð£º
ÎÒÃÇÓÐÒ»¸öÍøÕ¾Ä£°å£¬www.c111.com.cn,Ï£ÍûÐÞ¸ÄһЩµØ·½£º
1£©µã»÷×ó²à¡°·þÎñÆ·ÅÆ¡±µÄÆäÖÐÒ»¸öС·ÖÀ࣬Èç¡°×ãÇò¡±£¬½çÃæµÄÓÒ²à¾Í³öÏÖÈçwww.c111.com.cn/1.jpg£¬µã»÷1.jpgÉÏ·½µÄÆäÖÐÒ»¸öÆ·ÅÆlogo£¬ÏÂÃæ¾Í³öÏÖÏà¹ØµÄÍ ......
ÎÒµÄ網頁´ú碼為ASP語ÑÔ,驗證·½Ê½為ϵ統×Ô帶µÄWINDOW驗證ģʽ.
現ÔÚÎÒÈç¹ûÒªÔÚASP´ú碼ÖÐ獲È¡當ǰµÄµÇÈëÈË ......
ÔÚÒ»¸ö·¢±íÎÄÕµÄÒ³Ãæ£¬Èç¹ûÖÐ;¹Ø±ÕÒ³Ãæ£¬ÕâÌáʾÊÇ·ñ·ÅÆú±à¼£¬
Èç¹ûµã»÷·ÅÆú£¬ÔòתÏòÌîд·ÅÆúÔÒòµÄ½çÃæ£¬
Èç¹ûµã²»·ÅÆú£¬ÕâÍ£ÁôÔÚÔÒ³Ãæ£¬
Èç¹ûÊǵã»÷Ò³ÃæµÄ³¬¼¶Á´½Ó£¬Ôò´¥·¢Ê¼þʧЧ
ÈçºÎ±àд´ú ......
ÎÒÏëÓÃaspд¸öÒ³ÃæÒÔǰûÓнӴ¥¹ý£¬ÎÒ¿´ÍøÉÏ˵aspµÄÔËÐл·¾³Ö»ÄÜÊÇwindows£¬»¹±ØÐëҪװIIS¡£
Çë½Ì¸÷λ¸ßÊÖ£¬asp»¹ÓÐÆäËûµÄÔËÐл·¾³Âð?
²î²»¶à¾ÍÕâЩÁË£¬¾ÍÊÇIISÒ»¶¨Òª×°ºÃ
»¹ÓÐÒªÊÇÓÃVS2005µÄ»°ºÃÏñ¿ÉÒÔÖ±½ÓÔ ......