ASP.NET³ÌÐò
Ò»¡£ ASP.NETµÄÌØÉ«ÓëÓÅÊÆ
(1)Óëä¯ÀÀÆ÷ÎÞ¹Ø
(2)·½±ãÉèÖöϵã
(3)±àÒëºóÖ´ÐУ¬ÔËÐÐЧ¹û¸ß
(4)·á¸»µÄ¿Ø¼þ¿â
(5)´úÂëºóÖã¬Ê¹´úÂë¸üÇåÎú
¶þ¡£´´½¨ASP.NET³ÌÐò
´ò¿ªVisual Studio£¬Ñ¡Ôñ“Îļþ → н¨ → ÍøÕ¾” ÃüÁÎÒÃÇн¨Íøվʱ²»Ò»¶¨ÐèÒªÖ¸¶¨Íøվ·¾¶£¬Ö±½ÓÖ¸¶¨Îļþ·¾¶¾Í¿ÉÒÔÁË¡£
λÖÿÉÒÔÖ¸¶¨ÈýÖÖÀàÐÍ£¬ÎÒÃdz£Ê¹ÓÃÎļþϵͳ£¬µ¥»÷ºóÃæµÄ“ä¯ÀÀ”°´Å¥¿ÉÒÔ°ïÖúÄãÕÒµ½Îļþ¼ÐËùÔÚλÖ㬱ÜÃâÊÖ¶¯ÊäÈë·¾¶Ê±²úÉú´íÎó¡£
Ñ¡ÔñºÃ·¾¶ºóÈ»ºóµ¥»÷È·¶¨°´Å¥£¬ÕâʱÎÒÃÇÒѾн¨ÁËÒ»¸öÍøÕ¾¡£µ±È»£¬»¹±ØÐëÉèÖÿª·¢Ó¦ÓóÌÐòËùʹÓõıà³ÌÓïÑÔ£¬ÎÒÃÇʹÓÃC#¡£
Èý¡£ B/S C/S
B/S ä¯ÀÀÆ÷/·þÎñÆ÷(Browser Server)
C/S ¿Í»§¶Ë/·þÎñÆ÷(Client Server)
Ïà¹ØÎĵµ£º
ÔÚ×î½üµÄÏîÄ¿ÖУ¬Óöµ½Ò»¸öÎÊÌ⣬ҪʵÏÖÕâÑùµÄЧ¹û£º
µãpic_small.AspxÒ³ÃæµÄËõÂÔͼºóµ¯³öpic_all.aspxÒ³Ã棬pic_all.aspxÒ³ÃæµÄ´óСҪ¸ù¾ÝͼƬ´óС×Ô¶¯µ÷Õû£¬¶øÇÒÒªÓÐͼƬµÄ˵Ã÷ÐÅÏ¢£¬»¹¿ÉÒÔµãÉÏÒ»·ùºÍÏÂÒ»·ùµÈ½øÐзҳ¡£
ʵÏÖ¹ý³ÌÈçÏ£º
pic_small.AspxÒ³ÃæËõÂÔͼ´¦µÄ´úÂëΪ£º
£¼IMG id="imgPic" style="CURSOR: h ......
ǰ̨ Èç¹ûÄãÓõÄÊÇ gridview ¾Í°ÑRepeaterÌæ»»³Égridview ¡£Ò»ÑùµÄ¡£¡£
<form id="frm01" action="" method="post" runat="server">
<asp:ScriptManager ID="ScriptManager1" runat="server">
& ......
ASP.NET »º´æ£º·½·¨ºÍ×î¼Ñʵ¼ù
2009-11-28 16:49
ÕªÒª£ºASP.NET ÌṩÈýÖÖÖ÷ÒªÐÎʽµÄ»º´æ£ºÒ³Ã漶Êä³ö»º´æ¡¢Óû§¿Ø¼þ¼¶Êä³ö»º´æ£¨»ò³ÆΪƬ¶Î»º´æ£©ºÍ»º´æ API¡£Êä³ö»º´æºÍƬ¶Î»º´æµÄÓŵãÊǷdz£Ò×ÓÚʵÏÖ£¬ÔÚ´ó¶àÊýÇé¿öÏ£¬Ê¹ÓÃÕâÁ½ÖÖ»º´æ¾Í×ã¹»ÁË¡£¶ø»º´æ API ÔòÌṩÁ˶îÍâµÄÁé»îÐÔ£¨Êµ¼ÊÉÏÊÇÏ൱´óµÄÁé»îÐÔ£©£¬¿ÉÓÃÓÚÔÚÓ¦Ó ......
If you come to ASP.NET MVC from a purely ASP.NET Web Forms background, one of the first things you are likely to notice is that all those nice easy Server Controls have disappeared. One of those is the FileUpload, and its absence seems to cause a few problems. This article looks at how to upload f ......