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

ASP.NETÇå³ýÒ³Ãæ»º´æµÄ·½·¨

ASP.NETÇå³ýÒ³Ãæ»º´æ
     (1)   Response.Buffer = true;
             Response.ExpiresAbsolute = System.DateTime.Now.AddSeconds(-1);
             Response.Expires = 0;
             Response.CacheControl = "no-cache";
             Response.AddHeader("Pragma", "No-Cache");
    (2) HTML·½·¨
        <HEAD>
        <META HTTP-EQUIV="Pragma" CONTENT="no-cache">
        <META HTTP-EQUIV="Cache-Control" CONTENT="no-cache">
        <META HTTP-EQUIV="Expires" CONTENT="0">
        </HEAD>
    (3) ÖØÐµ÷ÓÃÔ­Ò³ÃæµÄʱºòÔÚ¸øÒ³Ãæ´«Ò»¸ö²ÎÊý:    href="****.ASPX?random()"


Ïà¹ØÎĵµ£º

ºÚɫ΢Цѧasp.net(Ðò)

ºÚɫ΢Цѧasp.net£¨Ðò£©
 
      ±¾ÈËÊǸö²ËÄñ£¬´ÓʵÄÖ°ÒµÔÚÍøÕ¾ºǫ́Ìí¼ÓÎÄÕµģ¬ÎÒ¶Á³ÉÈË´óѧÔÚÄÇÀïÖ»ÖªµÀÓÐCÓïÑÔÕâÖÖ¶«Î÷£¬¶ÔÓÚÀïÃæµÄÄÚÈÝÒ»¸Å²»Öª£¬ºóÀ´²Î¼Ó×Ô¿¼²ÅÖªµÀÁËselectÓïÑÔ¡£Í¨¹ýÇ×ÆÝ°ïÎÒ½éÉܵ½×öÍøÕ¾µÄ²¿ÃÅ£¬ÓÉÓÚ¹¤×÷ÐèÒª²Å½Ó´¥ÁËHTMLÓïÑÔ£¬ºóÀ´ÂýÂýÏÐÏÂÀ´ÁË£¬¿´µ½Í¬ÊÂASP×ö ......

¹ØÓÚASP.NET SessionʧЧµÄÎÊÌâ

      ½ñÌìÎÒÃÇSKYС×é×öÒ»¸öÏîÄ¿£¬Óöµ½ÁËSessionʧЧµÄÎÊÌâ£¬È¥ÍøÉϲéÁËһЩ×ÊÁϺó£¬×Ô¼ºÕûÀí³öÀ´£¬¹©ÒÔºóѧϰʹÓá£
      SessionʧЧµÄÔ­ÒòÓкܶàÖÖ£¬Å׳öÄÇЩËöËéµÄÎÊÌ⣨±ÈÈç¿Í·þ¶ËCookie¹Ø±Õ¡¢SessionÉèÖõÄʱ¼äÌ«¶ÌµÈ£©£¬ÕâÀïÖ÷Ҫ˵Ã÷һЩÈÝÒ×±»ÎÒÃǺöÂÔµÄÎÊÌâ ......

ASP.NET ScriptManager ¿Ø¼þ¸ÅÊö


      ScriptManager ¿Ø¼þ¹ÜÀíÖ§³Ö AJAX µÄ ASP.NET ÍøÒ³µÄ¿Í»§¶Ë½Å±¾¡£Ä¬ÈÏÇé¿öÏ£¬ScriptManager ¿Ø¼þ»áÏòÒ³Ãæ×¢²á Microsoft AJAX Library µÄ½Å±¾¡£Õ⽫ʹ¿Í»§¶Ë½Å±¾Äܹ»Ê¹ÓÃÀàÐÍϵͳÀ©Õ¹²¢Ö§³Ö²¿·ÖÒ³³ÊÏÖºÍ Web ·þÎñµ÷ÓÃÕâÑùµÄ¹¦ÄÜ¡£
 
±ØÐëÔÚÒ³ÉÏʹÓà ScriptManager ¿Ø¼þ£¬ÒÔÆôÓÃÏ ......

ASP.NET´óÊý¾ÝÁ¿²éѯ·ÖÒ³Àý×Ó

 
ǰ̨ Èç¹ûÄãÓõÄÊÇ gridview ¾Í°ÑRepeaterÌæ»»³Égridview ¡£Ò»ÑùµÄ¡£¡£
 <form id="frm01" action="" method="post" runat="server">
          <asp:ScriptManager ID="ScriptManager1" runat="server">
      & ......

ASP.NET¾­µäÃæÊÔÌâ

1. ¼òÊö private¡¢ protected¡¢ public¡¢ internal ÐÞÊηûµÄ·ÃÎÊȨÏÞ¡£
´ð . private : ˽ÓгÉÔ±, ÔÚÀàµÄÄÚ²¿²Å¿ÉÒÔ·ÃÎÊ¡£
protected : ±£»¤³ÉÔ±£¬¸ÃÀàÄÚ²¿ºÍ¼Ì³ÐÀàÖпÉÒÔ·ÃÎÊ¡£
public : ¹«¹²³ÉÔ±£¬ÍêÈ«¹«¿ª£¬Ã»ÓзÃÎÊÏÞÖÆ¡£
internal: ÔÚͬһÃüÃû¿Õ¼äÄÚ¿ÉÒÔ·ÃÎÊ¡£
£¨partial ÔÊÐí½«Àà¡¢½á¹¹»ò½Ó¿ÚµÄ¶¨Òå²ð·Öµ½¶à¸ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ