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

¶¯Ì¬ÍøÒ³ASPÓïÑÔ»ù´¡(7)

Javascript »ù±¾½á¹¹ºÍÓï·¨
ÓëVBScriptÏàͬ£¬Ò²ÊÇдÔÚ <%  %> Ö®¼ä¡£
Óà var ÉùÃ÷±äÁ¿£¬Óï¾äµÄĩβÓÓ;”¸ô¿ª¡£
ÒÔÏÂΪÒýÓÃÄÚÈÝ£º
<%@LANGUAGE="JSCRIPT" CODEPAGE="65001"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title> ʵÀýÑÝʾ Javascript »ù±¾½á¹¹ºÍÓï·¨ </title>
</head>
<body>
<%
var a,b,c
a=10;
b=20;
c=30;
fx=a+b+c;
%>
<%
=fx
 %>
</body>
</html>
±¾ÎÄÁ´½Ó£ºhttp://www.oversteper.com/wprogram/asp/819.html


Ïà¹ØÎĵµ£º

È¥³ýÍøÒ³Ô´´úÂëÖеÄÍøÒ³±êÇ©£¬Ö»ÁôÎÄ×Ö²¿·Ö asp º¯Êý

<%           
Function RemoveHTML( strText )
     Dim TAGLIST
     TAGLIST = ";!--;!DOCTYPE;A;ACRONYM;ADDRESS;APPLET;AREA;B;BASE;BASEFONT;" &_
         &n ......

¶¯Ì¬ÍøÒ³ASPÓïÑÔ»ù´¡(2)

´´½¨Ò»¸ö¼òµ¥µÄASPÒ³Ãæ
ÔÚ·þÎñÆ÷¶Ë±àдµÄÎļþ index.asp £º
ÒÔÏÂΪÒýÓÃÄÚÈÝ£º
<%@LANGUAGE="JSCRIPT" CODEPAGE="65001"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"&g ......

¹ØÓÚ asp ľÂí

Ò»¡¢Ä¾ÂíÉú³É
aspľÂí´úÂë¼ÓÃÜ£¬Í¼Æ¬ºÏ²¢£¬Îļþʱ¼äÐ޸쬻¹ÓÐÒªÃüµÄϵͳ©¶´ÀûÓÃ
ͼƬºÍľÂíºÏ²¢ÃüÁ
copy 1.gif /b + asp.asp /a asp.gif
¶þ¡¢Ä¾ÂíÉÏ´«
Èç¹ûºǫ́ûÓÐÀàËÆÊý¾Ý¿â±¸·Ý¹¦ÄÜ£¬¿ÉÒÔÉú³ÉÐÂÎļþ£¬»òÕßÖ±½ÓÐÞ¸ÄÎļþ¡£ÄÇôºÜÄÑÖ±½ÓÈÃľÂíÔËÐУ¬²»¹ý»¹ÊÇÓÐһЩ·½·¨£¬¿ÉÒÔ¿¼ÂÇ¡£  
  1¡¢Èç¹ ......

¶¯Ì¬ÍøÒ³ASPÓïÑÔ»ù´¡(5)

±äÁ¿ÉêÃ÷£¬ÃüÃû¹æÔòÓëÔËËã·û
1£¬ÓÃÈýÖÖÓï¾äÀ´ÉùÃ÷±äÁ¿£ºdim £¬public Óë private £¬±È½Ï³£ÓõϹÊÇ dim ¡£
È磺<% dim a %> £»<% dim a , b , c %>
2£¬ÃüÃû¹æÔò£º
<1> ±äÁ¿µÄµÚÒ»¸ö×Ö·û±ØÐëÊÇ×Öĸ£¬Êý×ֺͷûºÅ¶¼²»ÐС£
<2> ²»ÄÜǶÈë¾äµã¡£
<3> ³¤¶È²»Äܳ¬¹ý255¸ö×Ö·û¡£
<4> ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ