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

asp.netÖÐapp_codeºÍbinÎļþ¼Ð½éÉÜ

       Èç¹ûÄúµÄ Web Ó¦ÓóÌÐò°üÀ¨ÒªÔÚ¶à¸öÒ³Ö®¼ä¹²ÏíµÄ´úÂ룬Äú¿ÉÒÔ½«´úÂë±£´æÔÚ Web Ó¦ÓóÌÐò¸ùĿ¼ÏµÄÁ½¸öÌØÊâÎļþ¼Ð£¨Bin Îļþ¼ÐºÍ App_Code Îļþ¼Ð£©ÖеÄij¸öÎļþ¼ÐÖС£
Bin Îļþ¼Ð
      ¿ÉÒÔÔÚ Bin Îļþ¼ÐÖд洢±àÒëµÄ³ÌÐò¼¯£¬²¢ÇÒ Web Ó¦ÓóÌÐòÈÎÒâ´¦µÄÆäËû´úÂ루ÈçÒ³´úÂ룩»á×Ô¶¯ÒýÓøÃÎļþ¼Ð¡£µäÐ͵ÄʾÀýÊÇÄúΪ×Ô¶¨ÒåÀà±àÒëºÃµÄ´úÂë¡£Äú¿ÉÒÔ½«±àÒëºóµÄ³ÌÐò¼¯¸´ÖƵ½ Web Ó¦ÓóÌÐòµÄ Bin Îļþ¼ÐÖУ¬ÕâÑùËùÓÐÒ³¶¼¿ÉÒÔʹÓÃÕâ¸öÀà¡£
Bin Îļþ¼ÐÖеijÌÐò¼¯ÎÞÐè×¢²á¡£Ö»Òª .dll Îļþ´æÔÚÓÚ Bin Îļþ¼ÐÖУ¬ASP.NET ¾Í¿ÉÒÔʶ±ðËü¡£Èç¹ûÄú¸ü¸ÄÁË .dll Îļþ£¬²¢½«ËüµÄа汾дÈëµ½ÁË Bin Îļþ¼ÐÖУ¬Ôò ASP.NET »á¼ì²âµ½¸üУ¬²¢¶ÔËæºóµÄÐÂÒ³ÇëÇóʹÓÃа汾µÄ .dll Îļþ¡£
Bin Îļþ¼ÐµÄ°²È«ÐÔ
      ½«±àÒëºóµÄ³ÌÐò¼¯·ÅÈë Bin Îļþ¼ÐÖлá´øÀ´°²È«·çÏÕ¡£Èç¹ûÊÇÄú×Ô¼º±àдºÍ±àÒëµÄ´úÂ룬ÄÇôÄúÁ˽â´úÂëµÄ¹¦ÄÜ¡£µ«ÊÇ£¬Äú±ØÐëÏñ¶Ô´ýÈκοÉÖ´ÐдúÂëÒ»ÑùÀ´¶Ô´ý Bin Îļþ¼ÐÖÐÒѱàÒëµÄ´úÂë¡£ÔÚÍê³É´úÂë²âÊÔ²¢È·ÐÅÒÑÁ˽â´úÂ빦ÄÜ֮ǰ£¬Òª¶ÔÒѱàÒëµÄ´úÂë±£³Ö½÷É÷µÄ̬¶È¡£
Çë×¢ÒâÒÔÏ°²È«·½ÃæµÄ֪ʶ£¬ÕâЩ֪ʶÓëÊÇ·ñ½«ÒѱàÒëµÄ´úÂë·ÅÈë Bin Îļþ¼ÐÓйأº
Bin Îļþ¼ÐÖгÌÐò¼¯µÄ×÷Ó÷¶Î§Îªµ±Ç°Ó¦ÓóÌÐò¡£Òò´Ë£¬ËüÃÇÎÞ·¨·ÃÎʵ±Ç° Web Ó¦ÓóÌÐòÖ®ÍâµÄ×ÊÔ´»òµ÷Óõ±Ç° Web Ó¦ÓóÌÐòÖ®ÍâµÄ´úÂë¡£
      ÔËÐÐʱ£¬³ÌÐò¼¯µÄ·ÃÎʼ¶±ðÓɱ¾µØ¼ÆËã»úÉÏÖ¸¶¨µÄÐÅÈ춱ðÈ·¶¨¡£Óйظü¶àÐÅÏ¢£¬Çë²Î¼û ASP.NET ÐÅÈ춱ðºÍ²ßÂÔÎļþ¡£
Èç¹ûÄúʹÓÃÁËÖîÈç Visual Studio ÕâÑùµÄÉè¼ÆÆ÷£¬ÄÇô Bin Îļþ¼ÐÖеĴúÂëÔËÐÐËùÔÚµÄÉÏÏÂÎÄÓëÔËÐÐʱ²»Í¬¡£ÀýÈ磬´úÂë¿ÉÄÜÒÔÍêÈ«ÐÅÈÎ״̬ÔËÐС£
App_Code Îļþ¼Ð
      ¿ÉÒÔÔÚ App_Code Îļþ¼ÐÖд洢Դ´úÂ룬ÔÚÔËÐÐʱ½«»á×Ô¶¯¶ÔÕâЩ´úÂë½øÐбàÒë¡£Web Ó¦ÓóÌÐòÖеÄÆäËûÈκδúÂ붼¿ÉÒÔ·ÃÎʲúÉúµÄ³ÌÐò¼¯¡£Òò´Ë£¬App_Code Îļþ¼ÐµÄ¹¤×÷·½Ê½Óë Bin Îļþ¼ÐºÜÀàËÆ£¬²»Í¬Ö®´¦ÊÇÄú¿ÉÒÔÔÚÆäÖд洢Դ´úÂë¶ø·ÇÒѱàÒëµÄ´úÂë¡£App_Code Îļþ¼Ð¼°ÆäÔÚ ASP.NET Web Ó¦ÓóÌÐòÖеÄÌØÊâµØλʹÄú¿ÉÒÔ´´½¨×Ô¶¨ÒåÀàºÍÆäËû½öÔ´´úÂëÎļþ£¬²¢ÔÚ Web Ó¦ÓóÌÐòÖÐʹÓÃËüÃǶø²»±Øµ¥¶À¶ÔËüÃǽøÐбàÒë¡£
      App_Code Îļþ¼Ð¿ÉÒÔ°üº¬ÒÔ´«Í³ÀàÎļþ£¨¼´´øÓÐ .vb¡¢.cs µÈÀ©Õ¹ÃûµÄÎļþ£©µÄÐÎʽ±àдµÄÔ´´úÂëÎ


Ïà¹ØÎĵµ£º

asp.net »ØÖ´(postback)ºó¶¨Î»ÎÊÌâ

ÓÃasp.net µÄ»ØÖ´(postback)ÊǺÜˬ£¬µ«ÈôÒ»¸ö³¤³¤µÄÒ³Ã棬һ»ØÖ´ºó£¬Ìøµ½ÁËÒ³Ê×£¬ÌåÑ鲻ˬ¡£ µ«ÔÚasp.netµÄpageÒ³ÃæÀïÃæÓÐÒ»¸öºÜˬµÄÊôÐÔPage.MaintainScrollPositionOnPostBack ÊôÐÔ£¬ÉèΪtrue¼´¿É¡£ »ñÈ¡»òÉèÖÃÒ»¸öÖµ£¬¸Ãֵָʾ»Ø·¢ºóÊÇ·ñ½«Óû§·µ»Øµ½¿Í»§¶Ëä¯ÀÀÆ÷ÖеÄͬһλÖᣠ<%@ Page Title="" Lang ......

asp.net form±êǩǶÌ× Ìá½»Ò³ÃæµÄ½â¾ö·½·¨


Ô­ÌûµØÖ·:http://blog.cnria.com/post/aspnet-form-e5b58ce5a597-e68f90e4baa4e9a1b5e99da2e79a84e8a7a3e586b3e696b9e6b395-from-e5b58ce5a597-aspnet-e8a1a8e58d95.aspx
Õâ¸öÎÊÌâµÄÔ­ÒòÆäʵ²¢²»ÊÇasp.net ÔËÐлúÖƵÄÔ­Òò£¬¶øÊÇÒòΪÔÚhtmlÖб¾Éí¾Í²»ÔÊÐíform±êǩǶÌ×ʹÓã¬ÎÒÊÔ¹ýdocument.getelementbyid("search&q ......

ÔÚUpdatePanelÉÏʹÓÃFileUploadÉÏ´«Îļþ (asp.net C#)

 
Ê×ÏÈÎÒºÜÒź¶µÄ¸æËß´ó¼Ò£¬ÒòΪ΢ÈíµÄ͵ÀÁ£¬Ä¿Ç°UpdatePanel»¹²»Ö§³ÖÎļþÉÏ´«¡£±äÏàµÄ½â¾ö°ì·¨¾ÍÊÇUpdatePanelÖÐÉèÖÃPostBackTrigger£º
<asp:UpdatePanel ID="UpdatePanel1" runat="server">
<ContentTemplate>
<asp:FileUpload ID="FileUpload1" runat="serv ......

ASP.NET´úÂëƬ¶Î

ÉèÖÃÏÂÀ­¿òµÄ³õʼֵ£º
  <asp:DropDownList ID="DropDownList1" runat="server">
        <asp:ListItem Text="Сѧ" Value="1"></asp:ListItem>
        <asp:ListItem Text="ÖÐѧ" Value="2"></asp:ListItem& ......

ASP.NETÅäÖÃOracleµÄÏà¹Ø˵Ã÷

 ²        Oracle9iµÄ°²×°£¬Çë²ÎÕÕ¹Ù·½µÄ°²×°ËµÃ÷¡£
²        Oracle9i°²×°³É¹¦ÒÔºó£¬Ê¹ÓùÜÀíÔ±£¨Óû§Ãû£ºsys¡¢ÃÜÂ룺sys£©µÄÉí·ÝµÇ¼½øÈ¥£¬´´½¨Ò»¸öÓû§ddymis£¬ÃÜÂ룺ddymis,½ÇɫĬÈϸ³Óèdba¡£
²     ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ