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

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)
 


Ïà¹ØÎÊ´ð£º

Ç뾫ͨasp³ÌÐòµÄÅóÓѰïæÐÞ¸ÄÍøÕ¾

ÎÒÃÇÓÐÒ»¸öÍøÕ¾Ä£°å£¬www.c111.com.cn,Ï£ÍûÐÞ¸ÄһЩµØ·½£º
1£©µã»÷×ó²à¡°·þÎñÆ·ÅÆ¡±µÄÆäÖÐÒ»¸öС·ÖÀ࣬Èç¡°×ãÇò¡±£¬½çÃæµÄÓÒ²à¾Í³öÏÖÈçwww.c111.com.cn/1.jpg£¬µã»÷1.jpgÉÏ·½µÄÆäÖÐÒ»¸öÆ·ÅÆlogo£¬ÏÂÃæ¾Í³öÏÖÏà¹ØµÄÍ ......

ASP網頁ÖÐÈ¡µÃµÇ陸µÄÓÃ戶Ãû

ÎÒµÄ網頁´ú碼為ASP語ÑÔ,驗證·½Ê½為ϵ統×Ô帶µÄWINDOW驗證ģʽ.

現ÔÚÎÒÈç¹ûÒªÔÚASP´ú碼ÖÐ獲È¡當ǰµÄµÇÈëÈË ......

asp´¥·¢Ê¼þÎÊÌâ

ÔÚÒ»¸ö·¢±íÎÄÕµÄÒ³Ãæ£¬Èç¹ûÖÐ;¹Ø±ÕÒ³Ãæ£¬ÕâÌáʾÊÇ·ñ·ÅÆú±à¼­£¬
Èç¹ûµã»÷·ÅÆú£¬ÔòתÏòÌîд·ÅÆúÔ­ÒòµÄ½çÃæ£¬
Èç¹ûµã²»·ÅÆú£¬ÕâÍ£ÁôÔÚÔ­Ò³Ãæ£¬
Èç¹ûÊǵã»÷Ò³ÃæµÄ³¬¼¶Á´½Ó£¬Ôò´¥·¢Ê¼þʧЧ

ÈçºÎ±àд´ú ......

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

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