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

aspµÄ19¸ö»ù±¾¼¼ÇÉ

1. ÏÖÔÚµÄÈÕÆÚʱ¼äÃüÁîÊÇ <%=now%> ¼´¿É
2.ASPÈ¡µÃ±í¸ñ(from)Êý¾ÝÊäÈëµÄ·½·¨£¬ÊÇʹÓÃÒ»¸öÄÚÖõĶÔÏó(object)—Requect, ËüÒÔget,post¶øÒì¡£
3.ÈôÒª×Ô¼ºÓÃVB»òÆäËüÓïÑÔ±àд£¬.dllÎļþ¹©ASPʹÓÃÐ轫DLLÎļþ×¢²á·½¿É£ºDOSÏÂÊäÈë regsbr32 *.dll
4.ÏÔʾÎå¸öÖظ´µÄ¾ä×Ó£¬×ÖÌåÔ½À´Ô½´ó <% for i=1 to 5 %> <font size=<% =i %> color=#00ffff> ¿ìËÙASP </font> <br> <% next %>
5.´«ËÍ×Ö·û´®µ½Óû§¶Ë response.write string È磺<% response.write "Welcome" %>
6.Á´½Óµ½Ö¸¶¨µÄURLµØÖ· response.redirect url È磺 <% response.redirect "homepage.asp" %>
*µ«ÊÇÈç¹û´Ë.ASPµÄÎļþÄÚÈÝÒѾ­´«Ë͵½Óû§¶Ï£¬ÔòÔÙÓÃredirectʱ»á·¢Éú´íÎó¡£
7.ÆäËûÓïÑÔÓëASPµÄ½áºÏ£ºÈ磺ÔçÉÏÏÔʾÔç°²£¬ÏÂÎçÏÔʾÄãºÃ <% if time>+#12:00:00 AM# and time<#12:00:00 PM # then greeting="Ôç°²!" else greeting="ÄãºÃ!" end if %> <%=greeting %>
8.<script>±ê¼ÇÔÚASPÖеÄÓ¦ÓÃÀý£º
<html> <body> <% call function1 %> </body> </html> <script runat=server language=javascript> function function1() { ... } </script>
9.#include °üÀ¨ÆäËüÎļþ <!--#include virtual|file="filename"--> virtualÖ¸ÐéÄâµÄÎļþµØÖ·¡£ file ´ú±í¾ø¶ÔµÄÎļþµØÖ·¡£È磺 <!--#include virtual="/booksamp/test.asp"--> <!--#include file="/test/test.asp"-->
¶øÇÒ¿ÉÒÔ²ã²ãǶÌס£ÁíÍâ#include ²»ÄÜÔÚ<%--%>Ö®ÄÚ
10.ASPÈ¡µÃ±í¸ñÊäÈëÊý¾ÝµÄ·½·¨£ºGET POST Ò».get:Óû§¶Ë½«Êý¾Ý¼Óµ½URLºó£¬¸ñʽΪ”£¿×Ö¶Î1=ÊäÈëÊý¾Ý1&×Ö¶Î2=ÊäÈëÊý¾Ý2&...", ÔÙ½«ÆäË͵½·þÎñÆ÷¡£Èç: actionΪwww.abc.com, ×Ö¶ÎNameÊäÈëÊý¾ÝΪjack,×Ö¶ÎageµÄÊý¾ÝΪ15£¬ÔòÓÃget·½·¨Îª http://www.abc.com?Name=jack&Age=15
¶þ.post:Óû§¶ËÓÃhttpÐÅÏ¢Êý¾Ý´«Ë͵½·þÎñÆ÷ ASPÖУº get:ʹÓÓÊäÈëÊý¾Ý= Request.QueryString("×Ö¶ÎÃû")",½«¸½¼ÓÓÚURLµÄÊý¾ÝÈ¡³ö¡£ post:ʹÓÓÊäÈëÊý¾Ý=Request.Forml"(×Ö¶ÎÃû")",¶ÁÈ¡HTTPÐÅÏ¢Êý¾Ý×ֶΡ£ * Request.QueryString·¶ÀýÈ磺¡´A hery="aspform.asp?Name=jack&Age=15"> °´´Ë¡´/A¡µ¡´p¡µ Name:<%=request.QueryString("Name")%) Age:<%=request.QeueryString("Age")%) * get ·¶Àý ·asp


Ïà¹ØÎĵµ£º

ASP³ÌÐòÓëSQL´æ´¢¹ý³Ì½áºÏʹÓÃÏê½â

´æ´¢½ø³Ì¾ÍÊÇ×÷Ϊ¿ÉÖ´ÐжÔÏó´æ·ÅÔÚÊý¾Ý¿âÖеÄÒ»¸ö»ò¶à¸öSQLÃüÁî¡£
¶¨Òå×ÜÊǺܳéÏó¡£´æ´¢½ø³ÌÆäʵ¾ÍÊÇÄÜÍê³ÉÒ»¶¨²Ù×÷µÄÒ»×éSQLÓï¾ä£¬Ö»²»¹ýÕâ×éÓï¾äÊÇ·ÅÔÚÊý¾Ý¿âÖеÄ(ÕâÀïÎÒÃÇ̸ֻSQL SERVER)¡£Èç¹ûÎÒÃÇͨ¹ý´´½¨´æ´¢½ø³ÌÒÔ¼°ÔÚASPÖе÷Óô洢½ø³Ì£¬¾Í¿ÉÒÔ±ÜÃ⽫SQLÓï¾äͬASP´úÂë»ìÔÓÔÚÒ»Æð¡£ÕâÑù×öµÄºÃ´¦ÖÁÉÙÓÐÈý¸ö£º
µÚÒ»¡ ......

ASP.NET ASP.NET ·þÎñÆ÷¿Ø¼þµÄ¿Í»§¶ËÑéÖ¤


      Èç¹ûÓû§Ê¹ÓõÄä¯ÀÀÆ÷Ö§³Ö¶¯Ì¬ HTML (DHTML)£¬Ôò ASP.NET ÑéÖ¤¿Ø¼þ¿ÉÒÔʹÓÿͻ§¶Ë½Å±¾À´Ö´ÐÐÑéÖ¤¡£ÒòΪÕâÖֿؼþ¿ÉÒÔÌṩ¼°Ê±·´À¡£¨ÎÞÐèµ½·þÎñÆ÷µÄÍù·µ¹ý³Ì£©£¬ËùÒÔÓû§»á¸Ð¾õµ½Ò³µÄÐÔÄÜÓÐËù¸ÄÉÆ¡£
ÔÚ´ó¶àÊýÇé¿öÏ£¬ÎÞÐè¶ÔÒ³»òÑéÖ¤¿Ø¼þ×÷³öÈκθü¸Ä±ã¿ÉʹÓÿͻ§¶ËÑéÖ¤¡£¿Ø¼þ½«×Ô¶¯¼ì²âä¯À ......

ÍøÕ¾Éè¼ÆÖÐJSPÓëASPµÄ±È½Ï

×ܵÄÀ´½²£¬JavaSever PagesTM£¨JSP£©ºÍ ΢ÈíµÄActive Sever Pages£¨ASP£©ÔÚ¼¼Êõ·½ÃæÓÐÐí¶àÏàËÆÖ®´¦¡£Á½Õ߶¼ÊÇΪ»ùÓÚWEBÓ¦ÓÃʵÏÖ¶¯Ì¬½»»¥ÍøÒ³ÖÆ×÷ÌṩµÄ¼¼Êõ»·¾³Ö§³Ö¡£Í¬µÈ³Ì¶ÈÉÏÀ´½²£¬Á½Õ߶¼Äܹ»Îª³ÌÐò¿ª·¢ÈËÔ±ÌṩʵÏÖÓ¦ÓóÌÐòµÄ±àÖÆÓë×Ô´ø×é¼þÉè¼ÆÍøÒ³´ÓÂß¼­ÉÏ·ÖÀëµÄ¼¼Êõ¡£¶øÇÒÁ½Õ߶¼Äܹ»Ìæ´úCGIʹÍøÕ¾½¨ÉèÓë·¢Õ¹±äµÄ½ÏΪ ......

Microsoft ASP.NETѧϰ±Ê¼Ç£¨1£©ÎÒÑÛÖеÄASP.NET

Microsoft ASP.NETѧϰ±Ê¼Ç£¨1£©ÎÒÑÛÖеÄASP.NET
ÒÔÇ°Ò»Ö±ÓõÄJava, J2EEƽ̨£¬ÏÖÔÚÒòΪ¿ÎÌâÐèÒª³õѧÁËÒ»ÏÂASP.NET£¬Ð¡Ì¸Ò»Ï¶þÕß×öWEB¿ª·¢µÄÌå»á¡£
¶¼Ëµ.NET×öWEB¿ª·¢Ð§Âʸߣ¬ÎÒµÄÌå»á¾ÍÊÇMSµÄ¶«Î÷ÓÃמÍÊÇ·½±ã£¬Ò»¸ö¿Ø¼þ·ÅÉÏÈ¥£¬É輸¸öÊôÐÔ£¬Ì¸öʼþ£¬Ð´¼¸¸öSQL£¬¾Í³ÉÁË£¬¾õµÃÕâÖÖģʽ¸úÔ­À´ASPµÄÄǸö´úÂëÔËÐÐÆðÀ´Ð§ ......

ASP.NET ×Ô¶¨Òå ASP.NET µÇ¼¿Ø¼þµÄÍâ¹Û


      Äú¿ÉÒÔͨ¹ýÒÔÏ·½·¨×Ô¶¨Òå¶à¸ö ASP.NET µÇ¼¿Ø¼þµÄÄÚÈÝ£ºÖ¸¶¨¿Ø¼þÄ£°å²¢½«×Ô¼ºµÄ¿Ø¼þÌí¼Óµ½¿Ø¼þµÄÓû§½çÃæ (UI)£¬»òÕßÌæ»»»òÒƳý¿Ø¼þµÄÓû§½çÃæ²»ÐèÒªµÄ¿ÉÑ¡¿Ø¼þ¡£»¹¿ÉÒÔʹÓõǼ¿Ø¼þµÄÑùʽÊôÐÔÒÔ¼°Ö÷ÌâºÍÍâ¹ÛÀ´¶¨ÖƿؼþµÄÍâ¹Û¡£
 
Ò»¡¢¿É×Ô¶¨ÒåµÄµÇ¼¿Ø¼þ
¶ÔÓÚ¿ÉÒÔʹÓÃÄ£°åÌæ»» ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ