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

asp.netµÄÒ³ÃæÖ´Ðйý³Ì½²½â

Ê×ÏÈÏÈÖØÎÂһϹØÓÚb/sģʽµÄÕû¸öÇëÇó¹ý³Ì:
¿Í»§¶Ëͨ¹ýÔÚä¯ÀÀÆ÷µÄµØÖ·À¸ÇÃÈëµØÖ·À´·¢ËÍÇëÇóµ½·þÎñÆ÷¶Ë  ->  ·þÎñÆ÷½ÓÊÕµ½ÇëÇóÖ®ºó£¬·¢¸øÏàÓ¦µÄ·þÎñÆ÷¶ËÒ³Ã棨Ҳ¾ÍÊǽű¾£©À´Ö´ÐУ¬½Å±¾²úÉú¿Í»§¶ËµÄÏìÓ¦£¬·¢Ëͻؿͻ§¶Ë   ->  ¿Í»§¶Ëä¯ÀÀÆ÷½ÓÊÕµ½·þÎñÆ÷´«»ØµÄÏìÓ¦£¬¶ÔHtml½øÐнâÎö£¬½«Í¼Ðλ¯µÄÍøÒ³³ÊÏÖÔÚÓû§ÃæÇ°
Õâ¸öģʽ²»¹ÜÊÇasp,php,»¹ÊÇjsp,asp.net¶¼ÊʺÏ.ºÃÁËϱß̸̸¹ØÓÚ¿Í»§¶ËÓë·þÎñÆ÷µÄ½»»¥·½Ê½:
1:Form£ºÕâÊÇ×îÖ÷ÒªµÄ·½Ê½£¬±ê×¼»¯µÄ¿Ø¼þÀ´»ñÈ¡Óû§µÄÊäÈ룬FormµÄÌá½»½«Êý¾Ý·¢Ë͸ø·þÎñÆ÷¶Ë´¦Àí
2:QueryString£ºÍ¨¹ýÔÚUrlºóÃæ´ø²ÎÊý´ïµ½½«²ÎÊý´«Ë͸ø·þÎñÆ÷£¬ÕâÖÖ·½Ê½Æäʵ¸úGet·½Ê½µÄFormÊÇÒ»ÑùµÄ
3:Cookies£ºÕâÊÇÒ»ÖֱȽÏÌØÊâµÄ·½Ê½£¬Í¨³£ÓÃÓÚÓû§Éí·ÝµÄÈ·ÈÏ
ÕâЩ֪ʶÖØÎÂÒÔºó,¸Ã̸̸ÎÒÃÇÕâ´ÎµÄÖ÷ÌâÁË,¹ØÓÚasp.netÖеÄÒ³ÃæÖ´Ðйý³Ì·ÖÎö:
Ê×ÏÈ̸̸¹ØÓÚaspºÍjsp,phpÕâЩ´«Í³µÄwebÓïÑÔ,ÒòΪÎÒ¶ÔºóÁ½¸ö²»ÊǺܶ®,¶ÔaspÒ²ÊÇÖ»ÖªµÀƤë(ÎÒ¿ªÊ¼Ñ§Ï°³ÌÐòÉè¼Æʱ,asp.netÒѾ­Èç»ðÈçݱÁË)  ,ËùÒÔÕâ¸öÖ»ÄÜ¿½ÍøÉϵĶ«Î÷ÁË
ϱßÕâ¶ÎÊÇÎÒ´ÓÍøÉÏÕÒÀ´µÄ:
´«Í³µÄ·þÎñÆ÷½Å±¾ÓïÑÔ£¬ÈçASP¡¢JSPµÈ£¬±àд·þÎñÆ÷½Å±¾µÄ·½Ê½´óͬСÒ죬¶¼ÊÇÔÚHtmlÖÐǶÈë½âÊÍ»ò±àÒëÖ´ÐеĴúÂ룬ÓÉ·þÎñÆ÷ƽִ̨ÐÐÕâЩ´úÂëÀ´Éú³ÉHtml£»¶ÔÓÚÕâÀàËƵĽű¾£¬Ò³ÃæµÄÉú´æÖÜÆÚʵ¼ÊÉϺܼòµ¥£¬¾ÍÊÇ´Ó¿ªÍ·ÖÁĩβ£¬Ö´ÐÐÍêËùÓеĴúÂ룬µ±È»ÓÃJava±àдµÄServlet¿ÉÒÔ±àд¸ü¸´ÔӵĴúÂ룬µ«ÊǴӽṹÉÏ¿´£¬ºÍJSPûʲôÇø±ð¡£
¶ÔÓÚasp.net, ²ÉÓÃÁË"´úÂëºóÖÃ"(CodeBehind)¼¼Êõ,²¢Òý½øÁË·þÎñÆ÷¶Ë¿Ø¼þ,²¢¼ÓÈëÁË·þÎñÆ÷¶ËʼþµÄ¸ÅÄî,¸Ä±äÁË´«Í³µÄ½Ì±¾ÓïÑÔ±àд·½Ê½,  µ«ÊÇËû±¾ÉíûÓиıäweb±à³ÌµÄģʽ,Ö»ÊÇ·â×°ÁËһЩϸ½Ú¡¢ÌṩÁËһЩÒ×ÓõŦÄÜ£¬Ê¹´úÂë¸üÈÝÒ×±àдºÍά»¤£»´ÓijÖ̶ֳÈÉÏÀ´Ëµ£¬½«·þÎñÆ÷¶ËÖ´Ðеķ½Ê½¸´ÔÓ»¯ÁË
ϱ߾ßÌå̸̸asp.netÒ»´ÎÒ³ÃæÖ´ÐеÄÕû¸öÖÜÆÚ.
asp.netµÄ±à³ÌģʽÈÔÈ»ÊÇ´«Í³µÄ´¦Àí·½Ê½:Ìá½»ÇëÇó -> ½ÓÊÜÇëÇó -> ´¦ÀíÇëÇó -> ·ÅËÉÏìÓ¦. ϱßÕâ¾ä»°Ò»¶¨Òª¼Çס:  Ã¿Ò»´ÎÓë¿Í»§¶ËµÄ½»»¥¶¼»áÒý·¢Ò»´ÎеÄÇëÇó£¬ËùÒÔÒ»¸öWeb PageµÄÉúÃüÖÜÆÚÊÇÒÔÒ»´ÎÇëÇóΪ»ù´¡µÄ¡£Õâ¾ä»°ÊÇЩasp.netµÄ³ÌÐòÖÐÒ»¶¨ÒªÀμǵÄ,Ò»´ÎµÄÒ³ÃæÖ´ÐÐÊÇÒÔÒ»´ÎÇëÇóΪ»ù×¼µÄ,ͨË×µÄ˵¾ÍÊÇÒ»´ÎÒ³ÃæµÄË¢ÐÂ,
ÎÒÕâЩÌìÌýµ½µÄ×î¶àµÄÒ»¾ä»°ÊÇ:³ÌÐò¾ø¶Ô²»ÊÇ´úÂëµÄ¶Ñ»ý .  ËùÒÔ¸ÅÄîµÄÇå³þ±ÈÒ»¸öÓï·¨µÄÇå³þÒª×ÜÒªµÄ¶à,Õâ¸ö²»½ö½


Ïà¹ØÎĵµ£º

ASP.NET MVC ¼ò½é

Õâ¸öÊÇÔÚÍøÉÏÕÒµÄÒ»¸ö¹ØÓÚASP.NET MVC µÄ¶¨Ò壬ÎÒ¾õµÃÒѾ­½âÊ͵Ĺ»ºÃÁË£¬ËùÒԾͽè¹ýÀ´ÓÃÓÃÁË £¬ºÇºÇ
Ï£ÍûÓÐÐÄѧϰASP.NET MVC µÄÅóÓÑÏÈÊìϤ¶¨Ò壬ÔÚºóÐøµÄÎÄÕÂÖлá¸üÇáËɵÄѧϰASP.NET MVC
ÏÂÃæÎÒÃÇÒ»Æð̤ÉÏASP.NET MVC Ö®Âðɣ¬Ö»ÒªÓкãÐĺÍÒãÁ¦£¬×£Ñ§ÕßÃÇÂÃ;Óä¿ì£¡
The Model-View-Controller (MVC) architectu ......

asp.netÖÐwordתhtmlÅöµ½µÄȨÏÞÒì³£ÎÊÌâ


¼ìË÷ COM À๤³§ÖÐ CLSID Ϊ {000209FF-0000-0000-C000-000000000046} µÄ×é¼þʱʧ°Ü£¬Ô­ÒòÊdzöÏÖÒÔÏ´íÎó: 80070005¡£
˵Ã÷: Ö´Ðе±Ç° Web ÇëÇóÆڼ䣬³öÏÖδ´¦ÀíµÄÒì³£¡£Çë¼ì²é¶ÑÕ»¸ú×ÙÐÅÏ¢£¬ÒÔÁ˽âÓйظôíÎóÒÔ¼°´úÂëÖе¼Ö´íÎóµÄ³ö´¦µÄÏêϸÐÅÏ¢¡£
Òì³£ÏêϸÐÅÏ¢: System.UnauthorizedAccessException: ¼ìË÷ COM À๤ ......

ASP.NET MVC ÈëÃÅ

ViewDataÓÐÒ»¸öModelStateµÄÊôÐÔ£¬ÕâÊÇÒ»¸öÀàÐÍΪModelStateDictionaryµÄModelStateÀàÐ͵Ä×ֵ伯ºÏ¡£ÔÚ½øÐÐÊý¾ÝÑéÖ¤µÄʱºòÕâ¸öÊôÐÔÊDZȽÏÓÐÓõġ£ÔÚʹÓÃHtml.ValidationMessage()µÄʱºò£¬¾ÍÊÇ´ÓViewData.ModelStateÖмì²âÊÇ·ñÓÐÖ¸¶¨µÄKEY£¬Èç¹û´æÔÚ£¬¾ÍÌáʾ´íÎóÐÅÏ¢¡£ÀýÈçÔÚǰһƪÎÄÕÂASP.NET MVC ÈëÃÅ7¡¢HellperÓëÊý¾ÝµÄÌá ......

¶¨ÖÆASP.Net MVCµÄ´úÂëÄ£°å

ÔÚASP.Net MVCÀàÐ͵ÄÏîÄ¿ÖÐÓÒ»÷Controller Îļþ¼Ð£¬Ñ¡ÖÐAdd=>Controller¡­ºó£¬»áÔÚн¨µÄController ÖвåÈëһЩĬÈÏ´úÂë¡£   ÔÚController µÄ¸÷¸öAction·½·¨ÖÐÓÒ»÷ Add View¡­£¬Ò²»áÔÚн¨µÄViewÖвåÈëһЩ´úÂë¡£ÔÚн¨Viewʱ²åÈëµÄ´úÂë»á¸ù¾ÝÉÏÏÂÎĺÍÄãµÄÑ¡Ôñ¶ø²»Í¬£¬ËƺõÓкܴóµÄ´úÂëÉú³É¹¦ÄÜ¡£ ÉÏÊöÁ½ÕßÉú³É´ ......

ASP.NETÖÐCookieµÄʹÓÃ

Éè¼ÆÒâͼ£º½«loginÒ³ÃæÖеĵǼÐÅÏ¢±£´æÔÚloginµÄCookieÖУ¬×ªµ½HomeÒ³Ãæʱ£¬ÀûÓõõ½µÄCookieÖµ¾ÍÄÜ×Ô¶¯µÇ¼ 
loginÒ³Ãæǰ̨¹ØÓÚCookieµÄ´úÂ룺
<td>
      &nbsp;&nbsp;&nbsp;&nbsp;
        <asp:DropDownList ID= ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ