ÐÂÊÖÔõôѧϰasp.net
------±¾ÎÄתÔØ×ÔÍøÂ磬ËùÓÐȨ¹é×÷ÕßËùÓÐ
Èç¹ûÄãÒѾÓн϶àµÄÃæÏò¶ÔÏ󿪷¢¾Ñ飬Ìø¹ýÒÔÏÂÕâÁ½²½£º
µÚÒ»²½¡¡ÕÆÎÕÒ»ÃÅ.NETÃæÏò¶ÔÏóÓïÑÔ£¬C££»òVB.NET¡£
ÎÒÇ¿ÁÒ·´¶ÔÔÚûϵͳѧ¹ýÒ»ÃÅÃæÏò¶ÔÏó£¨OO£©ÓïÑÔµÄÇ°ÌáÏÂȥѧASP.NET¡£
ASP.NETÊÇÒ»¸öÈ«ÃæÏò¶ÔÏóµÄ¼¼Êõ£¬²»¶®OO£¬ÄǾø¶Ôѧ²»ÏÂÈ¥£¡
µÚ¶þ²½¡¡¶Ô.NET FrameworkÀà¿âÓÐÒ»¶¨µÄÁ˽â
¿ÉÒÔͨ¹ý¿ª·¢Windows FormÓ¦ÓóÌÐòÀ´Ñ§Ï°.NET Framework¡£ASP.NETÊǽ¨¹¹ÔÚ.NET¡¡
FrameworkÖ®Éϵļ¼Êõ£¬Äã¶Ô.NET FrameworkÁ˽âµÃÔ½ÉѧϰASP.NET¾ÍÔ½¿ì¡£
¾Ù¸öÀý×Ó£ºÏÂÃæ¼òµ¥Áгö¼¸¸ö¶ÔÕÆÎÕASP.NET·Ç³£ÖØÒªµÄ¸ÅÄ
¶ÔÏóµÄÄÚ´æÄ£ÐÍ£¬Î¯ÍУ¬Ê¼þ£¬¶àỊ̈߳¬³ÌÐò¼¯ºÍÓ¦ÓóÌÐòÓò£¬°²È«Ä£ÐÍ
¡¡.NET Frameworkµ±È»»¹ÓÐÐí¶àÆäËüµÄ¶«Î÷£¬µ«²»Àí½âÓë°ÑÎÕÇå³þÉÏÊöÕâЩ¶«Î÷£¬ÊǺÜÄÑÕæÕý°ÑÎÕASP.NETµÄ¡£
³öÓÚ¼±ÆȵÄÐÄÇéÓëÏÖʵµÄ¿¼ÂÇ£¬²»ÉÙÈËûÓÐÔúʵµÄÃæÏò¶ÔÏó»ù´¡¾ÍÏëÖ±½ÓѧϰASP.NET£¬Æä½á¹ûÖ»ÄÜÊÇÓûËÙÔò²»´ï¡£
Ôھ߱¸ÁËOO»ù´¡Ö®ºó£¬ÒÔÏÂÊǾßÌåµÄѧϰASP.NET¼¼Êõ²½Öè¡£
µÚÒ»²½£ºÑ§Ï°HTMLÓëCSS
Õâ²¢²»ÐèҪȥѧһ´ó¶ÑµÄÖîÈçDreamweaver£¬FireworkÖ®ÀàµÄ¸÷ÖÖÍøÒ³Éè¼Æ¹¤¾ß£¬¹Ø¼üÊÇÀí½âHTMLÍøҳǶÌ×µÄblock½á¹¹ÓëCSSµÄboxÄ£ÐÍ¡£Ðí¶àASP.NET¿Ø¼þ×îºó¶¼±ØÐëת»¯ÎªHTML¡£¶øÇÒ£¬div+CSSÊǵ±Ç°Ö÷Á÷µÄÍøÒ³²¼¾ÖÄ£ÐÍ¡£
ѧϰÕⲿ·Öʱ£¬¹Ø¼üÔÚÓÚÀí½â¸ÅÄ¶ø²»ÐèÒª½«¾«Á¦»¨ÔÚÃÀ»¯Ò³ÃæµÄÐí¶à¼¼ÇÉÉÏ£¬ÄÇÊÇÍøÕ¾ÃÀ¹¤µÄ¹¤×÷£¬²»ÊdzÌÐòÔ±µÄ¹¤×÷¡£
µÚ¶þ²½£ºÑ§Ï°JavaScript¡£
JavaScript²»ÊÇJava£¬ËüÖ÷ÒªÔËÐÐÓÚä¯ÀÀÆ÷¶Ë¡£¿ÉÒÔÍê³ÉÐí¶à¹¤×÷£¬¹¦ÄÜÒ²ºÜÇ¿´ó£º±ÈÈçËü½«¿Í»§¶ËÍøÒ³ÖеÄHTMLÔªËØ¿´³ÉÒ»¿ÃÊ÷£¬¿ÉÒÔ±àд´úÂë·ÃÎʲ¢ÐÞ¸ÄÊ÷½Úµã£¬¶¯Ì¬Éú³ÉеÄHTML´úÂ룬´Ó¶ø´ïµ½¶¯Ì¬ÐÞ¸ÄÍøÒ³ÏÔʾÌØÐÔµÄÄ¿µÄ¡£
JavaScriptÔÚÄ¿Ç°µÄÍøÕ¾¿ª·¢ÖÐÓõúܶ࣬·Ç³£ÖØÒª¡£
ÁíÍ⣬ËüÒ²ÊÇÄ¿Ç°·Ç³£Á÷ÐеÄAJAX¼¼ÊõµÄ»ù´¡¡£
µÚÈý²½£ºÑ§Ï°¼ÆËã»úÍøÂçÔÀí
ÕÒÒ»±¾´óѧ£¼¼ÆËã»úÍøÂ磾½Ì²Ä£¬Öص㿴¿´ËüµÄÓйػ¥ÁªÍøµÄ²¿·Ö£¬Á˽âһЩÓòÃû½âÎöºÍHTTPÐÒéµÈ֪ʶ¡£ÕâÊǽøÐл¥ÁªÍø¿ª·¢µÄÀíÂÛ»ù´¡¡£
µÚËIJ½£ºÑ§Ï°ASP.NET±íʾ²ã¼¼Êõ£¬»áÉè¼ÆWebÒ³Ãæ
ÐèÒª½áºÏÏÈÇ°´òºÃµÄÃæÏò¶ÔÏó¼¼ÊõµÄ»ù´¡£¬ÖÁÉÙÕÆÎÕÒÔÏÂÄÚÈÝ£º
£¨1£© ¸÷ÖÖWeb¿Ø¼þµÄʹÓ÷½·¨£¬
£¨2£© Àí½âÐÅÏ¢ÔÚÍøÒ³ÖеĴ«ËÍ·½Ê½£¬±ÈÈçCookie£¬ViewState£¬SessionµÈµÄʹÓá£
£¨3£© ASP.NETÓ¦ÓóÌÐòÓëÍøÒ³µÄÉúÃüÖÜÆÚ£¬ÒÔ¼°Ïà¹Ø¶ÔÏ󣨱ÈÈçhttpcontext£¬response£¬request£©µÄÓÃ;¡£
£¨4£© ASP.NETʵÏÖʼþÇý¶¯µÄÄÚÄ»
£¨5£©
Ïà¹ØÎĵµ£º
1.ÔÚ¹¤¾ßÏäÖÐÌí¼ÓBrettle.Web.NeatUpload.dll£¬¿ÉÒÔ¿´µ½¹¤¾ßÏäÖгöÏÖInputFileµÈ¿Ø¼þ¡£
2.¸´ÖÆÎļþ¼ÐNeatUploadµ½¸ùĿ¼.
3.ÍÏ·ÅʹÓÃÉÏ´«¿Ø¼þInputFileºÍ½ø¶ÈÌõProgressBar,Ìí¼ÓÉÏ´«ÎļþµÄ°´Å¥.aspxÒ³Ãæ´úÂëÈçÏ£º
<body>
<form id="form1" runat="server">
<div>
<upload: ......
1
<asp:UpdatePanelID="UpdatePanel1"
UpdateMode="Conditional"
runat="server">
<ContentTemplate>
<asp:Button ID="Button1"
......
ÏÖÔÚ´Ó¶ÔASP.NETÒ³ÃæµÄÖ´ÐÐ˳Ðò¿ªÊ¼£¬Ìå»áÒ»ÏÂB/S½á¹¹µÄ³ÌÐòµÄÌص㣬ÏÂͼÊÇASP.NETÒ³ÃæµÄÖ´ÐÐ˳Ðò˵Ã÷£º
¡¡¡¡Page_Init£¨Ò³Ãæ³õʼ»¯Òý·¢µÄʼþ£©——>Page_Load£¨¼ÓÔØÒ³ÃæʱÒý·¢µÄʼþ£©——>Control Event£¨·þÎñÆ÷¿Ø¼þÒý·¢µÄʼþ£©——>Page_UnLoad£¨Ò³Ãæ´ÓÄÚ´æÖÐÐ¶Ô ......
¿ÉÒÔʹÓà ASP.NET Login ¿Ø¼þ´´½¨µÇ¼ҳ¡£´Ë¿Ø¼þÌáÈ¡Óû§ÃûºÍÃÜÂ룬²¢Ê¹Óà ASP.NET ³ÉÔ±×ʸñºÍ Forms Éí·ÝÑéÖ¤À´ÑéÖ¤Óû§µÄƾ¾Ý²¢´´½¨Éí·ÝÑé֤Ʊ֤¡£
1¡¢´´½¨Ò»¸öʹÓà ASP.NET ³ÉÔ±×ʸñµÄ ASP.NET Web Ó¦ÓóÌÐò¡£ÓйØÏêϸÐÅÏ¢ºÍʾÀý£¬Çë²Î¼ûÅäÖà ASP.NET Ó¦ÓóÌÐòÒÔʹÓóÉÔ±×ʸñ ......
±¾½ÚÖеÄÖ÷ÌâÃèÊöÈçºÎʹÓà Visual Web Developer ¹¤¾ßÏäµÄ“HTML”Ñ¡ÏÉ쵀 ASP.NET Web ·þÎñÆ÷¿Ø¼þ¡£
ĬÈÏÇé¿öÏ£¬·þÎñÆ÷ÎÞ·¨Ê¹Óà ASP.NET ÍøÒ³É쵀 HTML ÔªËØ£»ÕâЩԪËر»ÊÓΪ´«µÝ¸øä¯ÀÀÆ÷µÄ²»Í¸Ã÷Îı¾¡£µ«ÊÇ£¬Í¨¹ý½« HTML ÔªËØת»»³É HTML ·þÎñÆ÷¿Ø¼þ£¬¿ÉÒÔ½«ËüÃǹ«¿ªÎª ......