¼±£¡¹ØÓÚASPµÄÎÊÌâ - Web ¿ª·¢ / ASP
ÎÒÓÐÁ½¸öÒ³Ãæ£º
µÚÒ»¸ö£º
<form action="if2.asp" method="get">
<p> Your First Name<INPUT id="first" NAME="FirstName" MaxLength=20></p>
<p>Your Last Name<INPUT id="last" NAME="LastName" MaxLength=20></p>
<INPUT TYPE=submit> <INPUT TYPE=reset>
</form>
µÚ¶þ¸ö£º
<% fname=lcase(request.querystring("Firstname"))
¡¡¡¡lname=lcase(request.querystring("Lastname")) %>
<% if fname="George" and lname="Washington" then %>
¡¡¡¡Hi.You must be the first president!
<% else %>
¡¡¡¡Hi!Nice to Meet You
<% end if %>
ÎÒÔÚµÚÒ»¸öÒ³ÃæµãÌá½»ÁËÒÔºó£¬Ò³Ã汨500´íÎó
¸ÒÎÊ´ó¸çÃÇÕâÊÇÔÓ»ØÊ°¡£¿
ÎÒÊÇÐÂÊÖ£¬½ñÌìµÚÒ»Ìõ½Ó´¥asp£¬Íû´ó¸çÃÇÖ¸µã¶î
if1.asp
<form action="if2.asp" method="get">
<p> <INPUT NAME="FirstName" MaxLength=20></p>
<p><INPUT NAME="LastName" MaxLength=20></p>
<INPUT TYPE=submit> <INPUT TYPE=reset>
</form>
if2.asp
<%
fnamerequest("Firstname")
lname=request("Lastname")
%>
<% if fname="George" and lname="Washington&
Ïà¹ØÎÊ´ð£º
http://www.zgjhjy.com/Test/PrimaryTest/Index.aspx
¾ÍÊÇÀàËÆÒÔÉϵÄÔÚÏß²âÊÔϵͳ£¬ÐèÒªÓÐÒ»¸öºǫ́µÄ£¬ÓïÑÔÊÇaspµÄ£¬Êý¾Ý¿âÊÇaccessµÄ£¬»¹ÐèÒªÄÜÔÚºǫ́¶ÔÐÅÏ¢½øÐÐÌíɾ¸Ä²éµÄ¡£Ð»Ð»¸÷λÁË¡£¡£¡£
³ÌÐòÕæµÄºÜ¶à£¬²»Öª ......
ÓÐÒ»¸öÀà
class adc
{
dim a,b,c
}
ÈçºÎÔÚÁíÍâÒ»¸öÀàÖÐÈ¡µÃÀà³ÉÔ±¼°³ÉÔ±¸öÊý
class getmenber
{
dim menbers()
function getmenbers(resclass)
'resΪһδ֪Àà
'getmenber ......
1.asp.net×öµÄÒ»¸ö´ðÌâÒ³Ãæ£¬ÈçºÎʵʱÏÞʱºó×Ô¶¯Ìá½»£¬Çë´ó¼Ò¸øµã˼·
ÏÞʱµÄʱ¼äÐÅÏ¢´æ·ÅÔÚÊý¾Ý¿âÖÐ
2.Èç¹û´ðÌâʱ¼äÉèÖõĽϳ¤£¬ÈçºÎ·½Ê½session³¬Ê±ºóÒ³ÃæÎÞЧ
лл
ÓÃjs·½·¨À´¿ØÖÆ
»Ø¸´ÄÚÈÝÌ«¶ÌÁË¡£¡£
js ......
¾ÍÊÇÒ»¸ö°´Å¥£¬µã»÷Ö®ºó´ò¿ª¶Ô»°¿ò£¬È»ºóѡȡͼƬ¡£¾ÍÕâÑùÉÏ´«¡£¡£
ÔõôʵÏÖ¡£ÔÚÍøÉÏËѵ½ÄÇô¶àµÄ´úÂ룬ȫÊǺܶàµÄÄÇÖÖ£¬²»ÖªµÀ£¬¿´²»ÏÂÈ¥¡£
ËùÒÔÔÚÕâÀïÏëÇë´ó¸ç´ó½ã°ï°ïæ¡£
ʹÓÃ×Ô´øµÄfileupload¿Ø¼þ¿ÉÒÔʵÏÖ ......
ĿǰÊÇA.aspÃæÒ³ÓÐÒ»¸ö±äÁ¿aa,Ôõô²Å¿ÉÒÔ´«µ½B.aspÒ³Ãæ,²»ÊÇÓÃURL´«,ÏëÓÃ<inupt >¿Ø¼þÔõô´«°¡!Çë´ó¼ÒÖ¸µã!
ÓÃ±íµ¥´«Öµ
´«Öµ£¬GETºÍPOST£¬ÒªÃ´´ø²ÎÊý£¬ÒªÃ´ÓÃform
¶øÇÒ£¬Èç¹ûÄãÁ½¸öÒ³ÃæÃ»ÓÐÈκιØÁª£¬´«Ö ......