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

asp±àд¹ý³Ì

±àд¹ý³Ì
¹ý³ÌÊÇÒ»×éÄÜÖ´ÐÐÖ¸¶¨ÈÎÎñÇÒ¾ßÓзµ»ØÖµµÄ½Å±¾ÃüÁî¡£Äú¿ÉÒÔ¶¨Òå×Ô¼ºµÄ¹ý³Ì£¬È»ºóÔڽű¾Öз´¸´µ÷ÓÃËüÃÇ¡£
Äú¿ÉÒÔ½«¹ý³Ì¶¨Òå·ÅÔÚµ÷Óùý³ÌµÄ .asp ÎļþÖУ¬Ò²¿ÉÒÔ½«Í¨Óùý³Ì·ÅÔÚÒ»¸ö¹²ÏíµÄ .asp ÎļþÖУ¬È»ºóÓà SSI #include Ö¸ÁÆä°üº¬½øÆäËûµ÷ÓÃÆä¹ý³ÌµÄ .asp ÎļþÖС£Äú»¹¿ÉÑ¡ÔñÁíÒ»ÖÖ·½·¨£¬¼´°ÑÕâЩ¹¦ÄÜ´ò°üÔÚ ActiveX ×é¼þÖС£
¶¨Òå¹ý³Ì
¹ý³Ì¶¨Òå¿É³öÏÖÔÚ <SCRIPT> ºÍ </SCRIPT> ±ê¼ÇÄÚ²¿ÇÒ±ØÐë×ñÑ­ÉùÃ÷½Å±¾ÓïÑԵĹæÔò¡£Èç¹û¹ý³ÌËùÓõÄÓïÑÔÓëÖ÷½Å±¾ÓïÑÔ²»Í¬£¬ÔòҪʹÓà <SCRIPT> ÔªËØ¡£Ö÷½Å±¾ÓïÑÔÖеĹý³ÌÓýű¾·Ö½ç·û (<% ºÍ %>) ·Ö¸ô¡£
Óà HTML <SCRIPT> ±ê¼Çʱ£¬±ØÐëʹÓÃÁ½¸öÊôÐÔÀ´±£Ö¤·þÎñÆ÷¶ËÄܹ»´¦Àí½Å±¾¡£Ê¹Óà <SCRIPT> ±ê¼ÇµÄÓï·¨ÊÇ£º
<SCRIPT RUNAT=SERVER LANGUAGE=JSCRIPT>
procedure definition
</SCRIPT>
RUNAT=SERVER ÊôÐÔ֪ͨ Web ·þÎñÆ÷ÔÚ·þÎñÆ÷ÉÏ´¦Àí½Å±¾¡£Èô²»ÉèÖøÃÊôÐÔ£¬½Å±¾½«ÓÉ¿Í»§¶Ëä¯ÀÀÆ÷´¦Àí¡£LANGUAGE ÊôÐÔ¾ö¶¨´Ë½Å±¾¿éËùÓõĽű¾ÓïÑÔ¡£Äú¿ÉÒÔÖ¸¶¨ÈκÎÒ»ÖÖ¾ßÓнű¾ÒýÇæµÄÓïÑÔ¡£ÇëʹÓà VBSCRIPT Ö¸¶¨ VBScript£» Óà JSCRIPT Ö¸¶¨ JScript¡£Èô²»ÉèÖà LANGUAGE ÊôÐÔ£¬½«ÓÃÖ÷½Å±¾ÓïÑÔ½âÊʹ˽ű¾¿é¡£
½Å±¾¿éÖеÄÃüÁî±ØÐëÓÃËùÑ¡µÄ½Å±¾ÓïÑÔÐγÉÒ»¸ö»ò¶à¸öÍêÕûµÄ¹ý³Ì¡£ÀýÈ磬ÒÔÏÂÃüÁÒå JScript ¹ý³Ì MyFunction¡£
<HTML>
<SCRIPT RUNAT=SERVER LANGUAGE=JSCRIPT>
function MyFunction()
{
Response.Write("MyFunction Called")
}
</SCRIPT>
Òªµã ²»ÒªÔÚ·þÎñÆ÷¶ËµÄ <SCRIPT> ±ê¼ÇÄÚ²¿°üº¬Èκβ»ÊôÓÚij¸öÍêÕû¹ý³ÌµÄÒ»²¿·ÖµÄ½Å±¾ÃüÁî¡£ÓÉÓÚÖ´ÐÐ˳Ðò²»¿ÉÔ¤²â£¬ËùÒÔ²»ÊôÓÚ¹ý³ÌµÄÃüÁî¿ÉÄܻᵼÖÂÒâÍâ½á¹û¡£ÁíÍ⣬ÔÚ¹ý³ÌÄÚ²»ÄÜʹÓà ASP Êä³ö±í´ïʽ <%=£¬¶øӦʹÓà Response.Write¡£
µ÷Óùý³Ì
Òªµ÷Óùý³Ì£¬ÔÚÃüÁîÖаüº¬¹ý³ÌÃû¼´¿É¡£Èç¹û´Ó VBScript Öе÷Óà JScript ¹ý³Ì£¬¾Í±ØÐëÔÚ¹ý³ÌÃûºó¼ÓÉÏÀ¨ºÅ£»Èç¹ý³ÌûÓбäÁ¿£¬¾ÍÓÿÕÀ¨ºÅ¡£²»¹ÜÊÇ´Ó JScript µ÷Óà VBScript »¹Êǵ÷Óà JScript ¹ý³Ì£¬ÔÚ¹ý³Ìºó×ÜÒª¼ÓÉÏÀ¨ºÅ¡£
¶ÔÓÚ VBScript£¬µ÷Óùý³ÌʱҪÓà Call ¹Ø¼ü×Ö¡£Èç¹ûµ÷ÓõĹý³ÌÐèÒªÀ¨ºÅ£¬±äÁ¿±í±ØÐë·ÅÔÚÀ¨ºÅÄÚ¡£Èç¹ûÊ¡ÂÔ Call ¹Ø¼ü×Ö£¬Ò²±ØÐëÊ¡ÂÔ±äÁ¿±íÍâµÄÀ¨ºÅ¡£Èç¹ûÓà Call Óï·¨µ÷ÓÃÈκÎÄÚ½¨µÄ»òÓû§×Ô¶¨ÒåµÄº¯Êý£¬º¯ÊýµÄ·µ»ØÖµ½«±»¶ªÆú¡£
ÏÂÃ潫¾ÙÀý˵Ã÷ÓÃÁ½ÖÖ²»Í¬µÄ½Å±¾ÓïÑÔ£¨VBScript ºÍ JScript£©


Ïà¹ØÎĵµ£º

ASPдµÄÅúÁ¿µ¼³öIISÓòÃûÁбí

×î½ü¹À¼ÆºÜ¶àÈ˶¼Åöµ½ºÍÎÒͬÑùµÄÎÊÌ⣬¾ÍÊÇÒòΪɨ»Æ¼°±¸°¸¹ÜÀí·Ç³£ÑÏ£¬Ò»¸öû±¸°¸Ö±½Ó¹Ø·þÎñÆ÷£¬Ò»¸ö»ÆÕ¾Ö±½Ó·â»ú·¿¡£ÏÖÔÚÍøÕ¾ËùÓÐÓòÃû±ØÐèͨ¹ý±¸°¸£¬ÒÔÇ°»¹Ëɵ㡣µ«ÎÒÃÇ·þÎñÆ÷100¶à¸ö£¬×ܲ»ÄÜÒ»¸öÒ»¸ö¼ì²é°É£¬ÉÏÍøËÑÁËÏ£¬Óиö³ÌÐòÉÔºÏÊÊ£¬µ«µ¼³öµÄÊÇÍøÕ¾ÓòÃûÕ¾µãÃû£¬ÎÒÐÞ¸ÄΪµ¼³öÓòÃûÁÐ±í£¬Í¬Ê±½â¾öÁ˵¼³öÒ»¸öÕ¾µã°ó¶¨¶à¸ ......

vbºÍaspÈçºÎÓÃremote·ÃÎÊÔ¶³ÌÊý¾Ý¿â


Òý×Ô£ºhttp://blog.csdn.net/yizia/archive/2006/09/19/1248669.aspx
·ÃÎÊÔ¶³ÌÊý¾Ý¿âµÄÇé¿öÓÐÒÔϼ¸ÖÖ£º
1£©·ÃÎÊÔ¶³ÌÊý¾Ý¿âµÄaccessÊý¾Ý¿â
2£©·ÃÎÊÔ¶³ÌmssqlÊý¾Ý¿â»òoracleµÈÆäËû¹ØϵÊý¾Ý¿â£¬µ«ÊÇÊý¾Ý¿âͨÐŶ˿ڱ»·À»ðǽ×èµ²»òÆäËûÍøÂçÔ­ÒòÔì³ÉÎÞ·¨Ê¹Óøö˿Ú
±¾ÎĽöÔÚwindows2000 advance server,mdac2.8ϲâÊÔͨ¹ý£ ......

asp ÎÄ×ÖÑ­»·¹ö¶¯£¨up£©

<div id="storyScroller" style="width:100%;height:140px;line-height:28px;overflow:hidden;">
 <div id="storyScrollMid">
  <ul id="storyScrollUl" style=" list-style-type:circle; list-style-position: outside; margin-left:18px; margin-right:0px">
<li>item01</l ......

ASP³ÌÐòʵÏÖÍøҳα¾²Ì¬Ò³Ô´´úÂë

ºÜ¼òµ¥µÄ½Ì³Ì£¬Ï׸øϲ»¶SEOµÄÅóÓÑÃÇ¡£°Ñhttp://www.***.cn/article.asp?logID=26 Ìæ»»³Éhttp://www.***.cn/article.asp?/a26.html¡£²»ÐèҪͨ¹ýiis+ISAPI_Rewrite×ö»ùÓÚIISµÄurl rewrite
Ò»¡¢Êý¾Ý¿âºÜ¼òµ¥Ê¹ÓÃACCESS£¬Data.mdb½¨Á¢Ò»¸ö±íArticle£¬Èý¸ö×ֶΣºID£¬Title£¬Content£»×Ô¶¯±àºÅ¡¢±êÌâ¡¢ÎÄÕÂÄÚÈÝ¡£
¶þ¡¢Config. ......

ASP.NET ASP.NET Web ²¿¼þÉúÃüÖÜÆÚ


      ÔÚ½« ASP.NET Web ²¿¼þµÄ¼¯³É¿Ø¼þ¼¯ÖеĿؼþ°üÀ¨ÔÚÍøÒ³ÖÐʱ£¬ÕâЩ¿Ø¼þ½«×ñÊظÃÒ³µÄ¹æÔò£»¾ßÌå¶øÑÔ¾ÍÊÇ£¬ÕâЩ¿Ø¼þ½«ÔÚ¸ÃÒ³µÄÉúÃüÖÜÆÚÄÚÔËÐС£
ÿ¸öÍøÒ³¶¼¾ßÓÐÒ»¸öÉúÃüÖÜÆÚ£¬ÍøÒ³ÔÚÆäÉúÃüÖÜÆÚÄÚ½«Ö´ÐÐһϵÁд¦Àí²½Öè¡£ÕâЩ²½Öè°üÀ¨³õʼ»¯¡¢´´½¨¿Ø¼þ¡¢»¹Ô­ºÍά»¤×´Ì¬¡¢ÔËÐÐʼþ´¦Àí³ÌÐò´ú ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ