Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB
ÈÈÃűêÇ©£º c c# c++ asp asp.net linux php jsp java vb Python Ruby mysql sql access Sqlite sqlserver delphi javascript Oracle ajax wap mssql html css flash flex dreamweaver xml
 ×îÐÂÎÄÕ : asp

ASPʵÏÖÓïÒô·ÖʱÎʺò


<bgsound src="wen.mid" loop="0">
  <% dim weh
  If Time >=#1:00:00 AM# And Time < #6:00:00 PM# Then
   weh = "<bgsound src="1.mid" loop="0">"
  Else If Time >#6:00:00 AM# And Time < #9:00:00 PM#
   weh = "<bgsound src="2.mid" loop="0">"
   Else If Time >#9:00:00 AM# And Time < #12:00:00 PM#
   weh = "<bgsound src="3.mid" loop="0">"
  Else If Time >#12:00:00 AM# And Time < #14:00:00 PM#
   weh = "<bgsound src="4.mid" loop="0">"
  Else If Time >=#14:00:00 AM# And Time < #17:00:00 PM#
   weh = "<bgsound src="4.mid" loop="0">"
  Else If Time >=#17:00:00 AM# And Time < #19:00:00 PM#
   weh = "<bgsound src="5.mid" loop="0">"
  Else If Time >=#19:00:00 AM# And Time < #24:00:00 PM#
   weh = "<bgsound src="6.mid" loop="0">" ......

ASPº¯ÊýÓï·¨ËÙ²é±í


Abs £¨ÊýÖµ£©
¾ø¶ÔÖµ¡£Ò»¸öÊý×ֵľø¶ÔÖµÊÇËüµÄÕýÖµ¡£¿Õ×Ö·û´® (null) µÄ¾ø¶ÔÖµ£¬Ò²ÊÇ¿Õ×Ö·û´®¡£Î´³õʼ»¯µÄ±äÊý£¬Æä¾ø¶ÔΪ 0
Àý×Ó£ºABS(-2000)
½á¹û£º2000
Array £¨ÒÔ¶ºµã·Ö¸ôµÄÊý×éÔªËØ£©
Array º¯Êý´«»ØÊý×éÔªËصÄÖµ¡£
Àý×Ó£º
A=Array(1,2,3)
B=A(2)
½á¹û£º 2
˵Ã÷£º±äÁ¿£ÂΪ£ÁÊý×éµÄµÚ¶þ¸öÔªËصÄÖµ¡£
£Ásc £¨×Ö·û´®£©
½«×Ö·û´®µÄµÚÒ»×Öĸת»»³É ANSI £¨ÃÀ¹ú¹ú¼Ò±ê×¼·ûºÅ£©×ÖÂë¡£
Àý×Ó£º£Ásc£¨£¢Internet£¢£©
½á¹û£º73
˵Ã÷£ºÏÔʾµÚÒ»×Öĸ I µÄ ANSI ×ÖÂë¡£
CBool£¨±í´ïʽ£©
ת»»³É²¼¶ûÂß¼­Öµ±äÁ¿ÐÍ̬£¨£Ôrue »ò£Æalse £©
Àý×Ó£ºCBool£¨1+2£©
½á¹û£ºTrue
CDate £¨ÈÕÆÚ±í´ïʽ£©
»»³ÉÈÕÆÚ±äÁ¿ÐÍ̬¡£¿ÉÏÈʹÓà IsDate º¯ÊýÅжÏÊÇ·ñ¿ÉÒÔת»»³ÉÈÕ ÆÚ¡£
Àý×Ó£º CDate (now( )+2)
½á¹û£º2000/5/28 10:30:59
CDbl£¨±í´ïʽ£©
ת»»³ÉDOUBLE±äÁ¿ÐÍ̬¡£
¡¡
Chr £¨ ANSI ×ÖÂ룩
½«ASCII ×ÖÂëת»»³É×Ö·û¡£
Àý×Ó£º Chr £¨ 72 £©
½á¹û£º H
CInt £¨±í´ïʽ£©
ת»»³ÉÕûÊý±äÁ¿ÐÍ̬¡£
Àý×Ó£º CInt ("3.12")
½á¹û£º 3
CLng £¨±í´ïʽ£©
ת»»³ÉLONG ±äÁ¿ÐÍ̬¡£
¡¡
CSng £¨±í´ïʽ£©
ת»»³ÉSINGLE ±äÁ¿ÐÍ̬¡£
¡¡
CStr £¨±í´ïʽ£©
ת»»³É×Ö·û´®±äÁ ......

ASPÓ¦ÓÃÖ®FSO×é¼þÖ®Îļþ²Ù×÷´óÈ«


'ʹÓÃFSOÐÞ¸ÄÎļþÌض¨ÄÚÈݵĺ¯Êý
Function FSOchange(filename,Target,String)
Dim objFSO,objCountFile,FiletempData
Set objFSO = Server.CreateObject("Scripting.FileSystemObject")
Set objCountFile = objFSO.OpenTextFile(Server.MapPath(filename),1,True)
FiletempData = objCountFile.ReadAll
objCountFile.Close
FiletempData = Replace(FiletempData,Target,String)
Set objCountFile = objFSO.CreateTextFile(Server.MapPath(filename),True)
objCountFile.Write FiletempData
objCountFile.Close
Set objCountFile = Nothing
Set objFSO = Nothing
End Function
ʹÓÃFSOдÎļþijһÐеĺ¯Êý
'ʹÓÃFSOдÎļþijһÐеĺ¯Êý
Function FSOlinewrite(filename,lineNum,Linecontent)
If linenum < 1 Then Exit Function
Dim FSO,f,temparray,tempCnt
Set FSO = Server.CreateObject("Scripting.FileSystemObject")
If Not FSO.FileExists(Server.MapPath(filename)) Then Exit Function
Set f = FSO.OpenTextFile(Server.MapPath(filename),1)
If Not f.AtEndofStream Then
tempcnt = f.ReadAll
f.Close
temparray = Split(tempcnt,Chr( ......

HTML£¬CSS£¬JS£¬ASPµÈ´úÂë×¢ÊÍ·½·¨


ÍøÒ³ÖÆ×÷ÖУ¬ÎªÁË·½±ãÈÕºóÐ޸ĻòЭ×÷¿ª·¢£¬³£³£Òª¶ÔÒ³Ãæ½øÐÐÏàÓ¦µÄ×¢ÊÍ£¬ÄãÍøÒ³½á¹¹ÇåÎú£¬¿É¶ÁÐÔÔöÇ¿¡£ÒÔϽéÉܼ¸ÖÖ³£ÓõÄ×¢ÊÍ·½·¨£º
Ò»¡¢HTMLµÄ×¢ÊÍ·½·¨
<!-- html×¢ÊÍ:START -->
ÄÚÈÝ
<!-- html×¢ÊÍ:END -->
¶þ¡¢CSSµÄ×¢ÊÍ·½·¨
<style type="text/css">
/* css×¢ÊÍ*/
</style>
ÔÚµ¥¶ÀµÄcssÑùʽ±íÎļþÖÐÒ²²ÉÓô˷½·¨×¢ÊÍ
Èý¡¢JSµÄ×¢ÊÍ·½·¨
µ¥ÐÐ×¢ÊÍÒÔ//¿ªÊ¼
¶àÐÐ×¢ÊÍÒÔ /* ¿ªÍ·£¬ÒÔ */ ½áβ¡£
ËÄ¡¢ASPµÄ×¢ÊÍ·½·¨
<%
Set xml=Server.CreateObject("Microsoft.XMLDOM")
Set Fs=xml.documentElement.childNodes  
'ASP×¢ÊÍ
%>
ÆäËû×¢ÊÍ·½·¨£º
±ÈÈçvbsÓà  '×¢ÊÍ »ò REM   ×¢ÊÍÄÚÈÝ
PHPÖ§³ÖC£¬C++ºÍUnix·ç¸ñµÄ×¢ÊÍ·½Ê½£º
¡¡¡¡/* C,C++·ç¸ñ¶àÐÐ×¢ÊÍ */
¡¡¡¡// C++·ç¸ñµ¥ÐÐ×¢ÊÍ
¡¡¡¡# Unix·ç¸ñµ¥ÐÐ×¢ÊÍ
......

HTML£¬CSS£¬JS£¬ASPµÈ´úÂë×¢ÊÍ·½·¨


ÍøÒ³ÖÆ×÷ÖУ¬ÎªÁË·½±ãÈÕºóÐ޸ĻòЭ×÷¿ª·¢£¬³£³£Òª¶ÔÒ³Ãæ½øÐÐÏàÓ¦µÄ×¢ÊÍ£¬ÄãÍøÒ³½á¹¹ÇåÎú£¬¿É¶ÁÐÔÔöÇ¿¡£ÒÔϽéÉܼ¸ÖÖ³£ÓõÄ×¢ÊÍ·½·¨£º
Ò»¡¢HTMLµÄ×¢ÊÍ·½·¨
<!-- html×¢ÊÍ:START -->
ÄÚÈÝ
<!-- html×¢ÊÍ:END -->
¶þ¡¢CSSµÄ×¢ÊÍ·½·¨
<style type="text/css">
/* css×¢ÊÍ*/
</style>
ÔÚµ¥¶ÀµÄcssÑùʽ±íÎļþÖÐÒ²²ÉÓô˷½·¨×¢ÊÍ
Èý¡¢JSµÄ×¢ÊÍ·½·¨
µ¥ÐÐ×¢ÊÍÒÔ//¿ªÊ¼
¶àÐÐ×¢ÊÍÒÔ /* ¿ªÍ·£¬ÒÔ */ ½áβ¡£
ËÄ¡¢ASPµÄ×¢ÊÍ·½·¨
<%
Set xml=Server.CreateObject("Microsoft.XMLDOM")
Set Fs=xml.documentElement.childNodes  
'ASP×¢ÊÍ
%>
ÆäËû×¢ÊÍ·½·¨£º
±ÈÈçvbsÓà  '×¢ÊÍ »ò REM   ×¢ÊÍÄÚÈÝ
PHPÖ§³ÖC£¬C++ºÍUnix·ç¸ñµÄ×¢ÊÍ·½Ê½£º
¡¡¡¡/* C,C++·ç¸ñ¶àÐÐ×¢ÊÍ */
¡¡¡¡// C++·ç¸ñµ¥ÐÐ×¢ÊÍ
¡¡¡¡# Unix·ç¸ñµ¥ÐÐ×¢ÊÍ
......

HTML£¬CSS£¬JS£¬ASPµÈ´úÂë×¢ÊÍ·½·¨


ÍøÒ³ÖÆ×÷ÖУ¬ÎªÁË·½±ãÈÕºóÐ޸ĻòЭ×÷¿ª·¢£¬³£³£Òª¶ÔÒ³Ãæ½øÐÐÏàÓ¦µÄ×¢ÊÍ£¬ÄãÍøÒ³½á¹¹ÇåÎú£¬¿É¶ÁÐÔÔöÇ¿¡£ÒÔϽéÉܼ¸ÖÖ³£ÓõÄ×¢ÊÍ·½·¨£º
Ò»¡¢HTMLµÄ×¢ÊÍ·½·¨
<!-- html×¢ÊÍ:START -->
ÄÚÈÝ
<!-- html×¢ÊÍ:END -->
¶þ¡¢CSSµÄ×¢ÊÍ·½·¨
<style type="text/css">
/* css×¢ÊÍ*/
</style>
ÔÚµ¥¶ÀµÄcssÑùʽ±íÎļþÖÐÒ²²ÉÓô˷½·¨×¢ÊÍ
Èý¡¢JSµÄ×¢ÊÍ·½·¨
µ¥ÐÐ×¢ÊÍÒÔ//¿ªÊ¼
¶àÐÐ×¢ÊÍÒÔ /* ¿ªÍ·£¬ÒÔ */ ½áβ¡£
ËÄ¡¢ASPµÄ×¢ÊÍ·½·¨
<%
Set xml=Server.CreateObject("Microsoft.XMLDOM")
Set Fs=xml.documentElement.childNodes  
'ASP×¢ÊÍ
%>
ÆäËû×¢ÊÍ·½·¨£º
±ÈÈçvbsÓà  '×¢ÊÍ »ò REM   ×¢ÊÍÄÚÈÝ
PHPÖ§³ÖC£¬C++ºÍUnix·ç¸ñµÄ×¢ÊÍ·½Ê½£º
¡¡¡¡/* C,C++·ç¸ñ¶àÐÐ×¢ÊÍ */
¡¡¡¡// C++·ç¸ñµ¥ÐÐ×¢ÊÍ
¡¡¡¡# Unix·ç¸ñµ¥ÐÐ×¢ÊÍ
......

Óô¿ASP´úÂëʵÏÖͼƬÉÏ´«²¢´æÈëÊý¾Ý¿âÖÐ

¡¡¡¡¡¡ÓãÁ£Ó£Ð±àдÍøÕ¾Ó¦ÓóÌÐòʱ¼ä³¤ÁË£¬ÄÑÃâ»áÓöµ½¸÷ʽ¸÷ÑùµÄÎÊÌ⣬ÆäÖйØÓÚÈçºÎÉÏ´«Îļþµ½·þÎñÆ÷¿ÖÅÂÊÇÓö¼û×î¶àµÄÎÊÌâÁË£¬ÓÈÆäÊÇÉÏ´«Í¼Æ¬£¬±ÈÈçÄãÏëÒªÔÚ×Ô¼ºµÄÉçÇøÀïÃæʵÏÖÀàËÆÍøÒ×ÐéÄâÉçÇøÌṩµÄ“ÿÈÕÒ»ÐÇ”µÄ¹¦ÄÜ£¬¾ÍÒªÌṩ¸øÍøÓÑÉÏ´«ÕÕƬµÄ¹¦ÄÜ¡£ÉÏ´«Í¼Æ¬Îļþµ½·þÎñÆ÷¿ÉÒÔʹÓø÷ÖÖÃâ·ÑµÄÎļþÉÏ´«×é¼þ£¬Ê¹ÓÃÆðÀ´¹¦ÄÜËäÈ»ºÜÇ¿´ó£¬µ«ÊÇÓÉÓںܶàÇé¿öÏ£¬ÎÒÃÇÖ»ÄÜʹÓÃÃâ·ÑµÄÖ§³Ö£Á£Ó£ÐµÄ¿Õ¼ä»òÕß×âÓñðÈ˵ÄÐéÄâ¿Õ¼ä£¬¶ÔÓÚµÚÒ»ÖÖÇé¿ö£¬ÎÒÃǸù±¾¾ÍûÓпÉÄÜÀ´Ê¹ÓÃÎļþÉÏ´«×é¼þ£»ÖÁÓÚµÚ¶þÖÖÇé¿ö£¬ÎÒÃÇÒ²Òª¸¶³ö²»ÉٵēÒø×Ó”²Å¿ÉÒÔ¡£³ý·ÇÄãÓµÓÐ×Ô¼ºµÄÐéÄâÖ÷»ú£¬Äã¾Í¿ÉÒÔËæ±ãµÄÔÚ·þÎñÆ÷ÉÏÃæ°²×°×Ô¼ºËùÐèÒªµÄ×é¼þ£¬ÕâÖÖÇé¿ö¶ÔÓÚ´ó¶àÊýÈËÀ´ËµÊÇ¿ÉÍû¶ø²»¿É¼°µÄ¡£ÄÇÎÒÃǾÍûÓа취ÁËÂ𣿺Ǻǣ¬´ð°¸Êǿ϶¨µÄ£¨µ±È»Êǿ϶¨µÄÁË£¬Òª²»È»ÎÒҲû·¨Ð´³öÕâƪÎÄÕ°¡£©¡£ÏÂÃæ¾ÍÈÃÎÒÃÇÒ»ÆðÀ´Ê¹Óô¿£Á£Ó£Ð´úÂëÀ´ÊµÏÖͼƬµÄÉÏ´«ÒÔ¼°±£´æµ½Êý¾Ý¿âµÄ¹¦ÄÜ£¨Ë³±ãҲʵÏÖÏÔʾÊý¾Ý¿âÖеÄͼƬµ½ÍøÒ³ÉϵŦÄÜ£©¡£ ¡¡¡¡Ê×ÏÈÎÒÃÇÏÈÀ´ÊìϤһϽ«ÒªÊ¹ÓõĶÔÏó·½·¨¡£ÎÒÃÇÓÃÀ´»ñÈ¡ÉÏÒ»¸öÒ³Ãæ´«µÝ¹ýÀ´µÄÊý¾ÝÒ»°ãÊÇʹÓÃRequest¶ÔÏó¡£Í¬ÑùµÄ£¬ÎÒÃÇÒ²¿ÉÒÔʹÓÃRequest¶ÔÏóÀ´»ñÈ¡ÉÏ´«ÉÏÀ´µÄÎļþÊý¾ ......

ASPͼƬÉÏ´«µ½Êý¾Ý¿âÖÐʵÀý

ASP£¨Active Server Pages£©ÊÇMicrosoftºÜÔç¾ÍÍƳöµÄÒ»ÖÖWEBÓ¦ÓóÌÐò½â¾ö·½°¸£¬Ò²ÊǾø´ó¶àÊý´ÓÊÂÍøÕ¾¿ª·¢ÈËÔ±ºÜÊìϤµÄÒ»¸ö±È½Ï¼òµ¥µÄ±à³Ì»·¾³¡£Í¨¹ýASPÎÒÃÇ¿ÉÒÔ´´½¨¹¦ÄÜÇ¿´óµÄ¶¯Ì¬µÄWEBÓ¦ÓóÌÐò¡£ASPËäÈ»¹¦ÄܺÜÇ¿´ó£¬µ«ÓÐЩ¹¦ÄÜÓô¿ASP´úÂëÍê³É²»ÁË£¬ÎªÁËÄܱ£Ö¤¿ª·¢³ö¹¦Äܸü¼ÓÇ¿´óµÄWEBÓ¦ÓóÌÐò£¬ÎÒÃÇ¿ÉÒÔ½èÖúµ÷ÓÃCOM×é¼þ¡£
ÔÚÈÕ³£¹¤×÷ÖУ¬ÀýÈ翪·¢Ò»¸ö“ÉÌÆ·ÍøÉÏÏúÊÛϵͳ”°É£¬ÎªÁËʹ¹Ë¿Í¶ÔÉÌÆ·µÄÍâ¹ÛÓÐËùÁ˽⣬Ҳ¾ÍÊǹ˿ÍÔÚ¿´ÉÌÆ·µÄÎÄ×Ö½éÉܵÄͬʱÔÚÎÄ×ÖµÄÅÔ±ßÓиÃÉÌÆ·µÄͼƬ¼ÓÒÔ˵Ã÷£¬ÕâÑù¹Ë¿Í¾Í¿ÉÒÔ¶Ô¸ÃÉÌÆ·ÓиöϵͳµÄÁ˽⣬¶ÔÍÆÏúÉÌÆ·ÓкܴóµÄ°ïÖú¡£ËùÒÔÎÒÃÇÔÚ¿ª·¢ÏµÍ³Ê±µ±È»¾ÍÒª¼ÓÈëͼƬ´¦ÀíÄ£¿é£¬¼´ÈçºÎ°ÑͼƬÉÏ´«µ½·þÎñÆ÷£¨Í¼Æ¬¿ÉÒÔ·ÅÔÚWEB·þÎñÆ÷ÉÏijһ¸öÎļþ¼ÐÀïÒ²¿ÉÒÔ·ÅÔÚSQL Server·þÎñÆ÷ÀºÍÈçºÎÈÃÉÏ´«µÄͼƬÔÚä¯ÀÀÆ÷¶ËÏÔʾ³öÀ´£¬ÕⶼÊÇ¿ª·¢ÈËÔ±Òª¿¼Âǵ½µÄÎÊÌâ¡£
ÉÏ´«Í¼Æ¬µ½·þÎñÆ÷ÓжàÖÖ·½·¨£¬¿ÉÒÔʹÓÃÎļþÉÏ´«×é¼þÒ²¿ÉÒÔʹÓô¿ASP´úÂëÀ´ÊµÏÖ¡£ÔÚCSDNµÄWEB°æASPÉϾ­³£ÓÐÍøÓÑÎÊÕâÑùµÄÎÊÌâ“ÈçºÎÀûÓÃASP°ÑͼƬÉÏ´«µ½Êý¾Ý¿âÀ¬ÎªÁË·½±ãCSDNÐèÒªÁ˽âÕâ·½ÃæµÄ֪ʶ£¬ÕâƪÎÄÕ½«Ïêϸ½²½âʹÓÃASPÉÏ´«Í¼Æ¬µÄ×ö·¨²¢¸ø³ö´úÂ룬ÒÔ÷϶ÁÕß¡£
Ê×Ï ......
×ܼǼÊý:617; ×ÜÒ³Êý:103; ÿҳ6 Ìõ; Ê×Ò³ ÉÏÒ»Ò³ [13] [14] [15] [16] 17 [18] [19] [20] [21] [22]  ÏÂÒ»Ò³ βҳ
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ