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

asp²ÎÊý´«µÝÎÊÌâ

request.queryString("act")="del"


id=request.queryString("id")

ÉϱßÊÇÒ»²¿·Ö²ÎÊý´«µÝµÄ´úÂë  µØÖ·À¸µÄ²ÎÊýÊÇact
ÔõôÀí½âact

actÔÚÕâÀïÊDZäÁ¿»¹ÊÇÆäËû£¿
Ó¦¸ÃÊÇÅжÏÓï¾ä£¬²»ÊǸ³ÖµÓï¾ä, ¸ù¾ÝactµÄ²»Í¬Ö´Ðв»Í¬µÄ²Ù×÷¡£
if request.queryString("act")="del" then
....

ÒýÓÃ
Ó¦¸ÃÊÇÅжÏÓï¾ä£¬²»ÊǸ³ÖµÓï¾ä, ¸ù¾ÝactµÄ²»Í¬Ö´Ðв»Í¬µÄ²Ù×÷¡£
if request.queryString("act")="del" then
....



ÏÖÔÚÊÇÃÔºýactµ½µ×ÊǸöʲô  ÊDzÎÊý »¹ÊÇÊôÐÔ  ÊÇ×Ô´øµÄ»¹ÊÇ×Ô¶¨ÒåµÄ 

actÊÇurl´«µÝµÄ²ÎÊýѽ£¬ http://xxxx/xxx.asp?act=del&id=xx

ACTÊÇÓ¦¸ÃËãÊÇ×Ô¶¨ÒåµÄ¡£

ͬÒâ¶þÂ¥£¬request.queryString("act")="del" ¿Ï¶¨²»ÊÇÒ»¸ö¶ÀÁ¢µÄÓï¾ä£¬Ó¦¸ÃÊÇÒ»¸öÌõ¼þÓï¾ä£¬ÕâÒ»¾äÖеÄactÊÇÖ¸µØÖ·À¸Öеĺó׺²ÎÊý£¬id=request.queryString("id") Õâ¾äÖУ¬µÚÒ»¸öidÊÇÒ»¸ö±äÁ¿£¬ºóÃæµÄidÒ»ÑùÊÇÖ¸µØÖ·À¸Öеĺó׺²ÎÊý£¬Õû¾äµÄÒâ˼¾ÍÊÇ»ñÈ¡µØÖ·À¸²ÎÊýidµÄÖµ£¬²¢°ÑËü¸³Öµ¸ø±äÁ¿id

requestÖ»ÓÐgetûÓÐset £¨¿ÉÒÔÀí½âΪֻ¶Á£©

ÏÂÃæÊÇrequestµÄ´úÂëÔ­ÐΣº
C# code:

public sealed class HttpRequest
{
......
public NameValueCollection QueryString { get; }
......
}
public class NameValueCollection : NameObject


Ïà¹ØÎÊ´ð£º

ASPÅжϵÄÎÊÌâ,ÓôÃÆÁË!Åжϲ»³öÀ´!

HTML code:

dim jf
set conn=server.createobject("adodb.connection")
connstr="Driver={Sql Server};Server="&Sqlip&";Database="&Sqldb&";Uid="& ......

ÎÒÊÇÒ»ÃûASP´¦Ñ§Õߣ¡ÏëÇë°ïÃ¦ÍÆ¼öÒ»±¾ASPºÃµÄÊé¼®

ÎÒÔ­±¾ÊÇѧjspµÄ¿ÉÕÒÁËÒ»¸öASPµÄ¹«Ë¾£¡ÎÒÒªÖØÐÂѧϰ£¡ ѧϰASP£¡ Ï£Íû´ó¼ÒÍÆ¼öÒ»±¾ºÃÊ鏸ÎÒлл
<ASP3.0¸ß¼¶±à³Ì> ÍøÉÏÓеç×Ó°æµÄ

·¢ÏÖÍøÉÏaspÐÅϢʱ×î¶àµÄ ±ÈÆäËûµÄ¶¼¶àºÃ¶à

yun

ÕÒ±¾ÓÐÓ¦ÓÃÊÂÀýµÄA ......

aspÒ³Ãæµ÷ÊÔÎÊÌâ

½¨ÁËÒ»¸öÕ¾µã£¬ÀïÃæÓÐ login.aspx. events.aspx µÈµÈ ÆäËûµÄÒ³Ãæ¡£


µ«ÊÇÎÒµ÷ÊÔ ÆäËûÒ³ÃæµÄʱºò£¬±Ä³öÀ´µÄ×ÜÊÇ login.aspx Ò³Ãæ¡£

¸Õѧasp ÇëÖ¸½Ì
ÄãÉèÖÃÆðʼҳÁ˰ɡ£¡£

¶÷ÔõôȡÏûÄØ£¿

Òªµ ......

ASP FCKÔÚÏ߱༭Æ÷

ÓÐÄÄλ¸ßÊÖÓùýASP FCKÔÚÏ߱༭Æ÷ѽ£¬ËüÄǸöͼƬÉÏ´«¹¦ÄÜÔõôÅäÖÃѽ
ÄܸøÎÒ·¢¸öÄÜÓÃFCKÔÚÏ߱༭Âð£¿Ò»¶¨ÄÜÉÏ´«Í¼Æ¬¹¦ÄܵÄѽ£¬¼±Ñ½
Ö±½Óµ½¹Ù·½ÍøÕ¾È¥Ï¸ö¾Í¿ÉÒÔÁË£¬¹ØÓÚÉèÖÃô£¬Ö±½ÓGOOGLEÒ»ÏÂÄãµÄ°æ±¾ºÅ¾Í¿ÉÒÔÕÒµ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ