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

asp.net µ¥Óû§µÇ¼¾­µä½â¾ö·½°¸


ÕâÀïÖ¸µÄµ¥µã£¬·ºÖ¸ÔÚWEB·þÎñ¶Ë£¬Ò»¸öÕË»§Í¬Ò»Ê±¿ÌÖ»ÄÜ´æÔÚÒ»¸öƱ¾Ý£¡
´ó¼Ò¿ª·¢ÖпÉÄܶ¼Åöµ½µÄÒ»¸öÎÊÌ⣬Ôõôʹͬһ¸öÓû§£¬ÔÚͬһʱ¼äÄÚÖ»ÔÊÐíµÇ¼һ´Î¡£
ºÜ¶àÈ˶¼»áÏëµ½ÔÚÊý¾Ý¿âÖÐÓÃÒ»¸ö±êʶ×ֶΣ¬µÇ¼½øÈ¥ÖÃ1,Í˳öÖÃ0,µÇ¼ʱÅжÏÕâ¸ö×ֶΣ¬Èç¹ûÊÇ1¾Í˵Ã÷´ËÓû§ÔÚÏߣ¬²»ÔÊÐíµÇ¼£¬Õâ¸ö·½°¸¿´ËÆÓÐЧ£¬µ«ÔÚʵ¼ÊʹÓÃÖз¢ÏÖÎÊÌâºÜ¶à£¬±ÈÈ磬Óû§²»ÊÇͨ¹ý³ÌÐòÖеÄÍ˳ö°´Å¦Í˳ö£¬¶øÊÇÖ±½Ó¹Ø±ÕIE£¬ÕâÑùµÄ»°£¬Ï´εǼʱÊý¾Ý¿âÀï´ËÓû§»¹ÔÚÏßÄØ£¬Õâ¸öÓû§¾ÍÎÞ·¨µÇ¼£¬µ±È»Ò²ÓÐһЩ°ì·¨¿ÉÒÔ½â¾öÕâ¸öÎÊÌ⣺Ôö¼ÓÒ»¸ö¶¨Ê±×÷Òµ£¬¶¨ÆÚ¸´Î»ÄÇЩ³¤Ê±¼äÔÚÏßµÄÓû§£¬ÕâÑùÓÖ»áÔì³ÉһЩÎÊÌ⣬Èç¹ûÕâ¸öÓû§Êµ¼ÊÉϾÍÊÇʹÓÃÁËÕâô³¤Ê±¼ä£¬ÄǾÍÊÇÎóɱ¡£
ͨ¹ý¶à´ÎʵÑ飬·¢ÏÖ.net±¾Éí¿ÉÒÔÌṩÕâÖÖ½â¾ö·½°¸¡£²½ÖèÈçÏ£º
µÚÒ»£º½¨Á¢global.asaxÎļþ£¬ Session_End ʼþÖÐдÈëÈçÏ´úÂ룺
             Hashtable h = (Hashtable)Application["online"];
             if (h[Session.SessionID] != null)
                 h.Remove(Session.SessionID);
             Application["online"] = h;
µÚ¶þ£ºÐÞ¸Äweb.configÎļþ£¬ÔÚsystem.web ½áµãÀïÃæÔö¼Ó
<sessionState mode="InProc"></sessionState>
Õâ¸öÊÇΪÁËʹÓÃglobal.asaxÖеÄsession_endʼþÉúЧ¡£
µÚÈý£ºÒ³ÃæµÄµÇ¼Ê¼þÖУ¬ÅжϵǼÓû§ÊÇ·ñÔÚ·þÎñ¶ËÈ«¾Ö±äÁ¿ÖдæÔÚ£¬´æÔھͲ»ÔÊÐíµÇ¼£¬²»´æÔھʹ´½¨¡£ÒÔÏÂÊÇʵÏÖ¹ý³Ì£¬µÇ¼°´Å¦µÄʼþÖе÷Óá£
private void isLogin()
     {
         Hashtable h = (Hashtable)Application["online"];
         if (h == null)
         {
             h = new Hashtable();
         }
         //ÑéÖ¤Óû§ÊÇ·ñÔÚApplicationÖдæÔÚ(ÊÇ·ñÔÚÏß)
    


Ïà¹ØÎĵµ£º

asp.net GridviewÖеÄÄÚÈݵ¼³öµ½Excel

1£ºGridviewÖеÄÄÚÈݵ¼³öµ½Excel¡¡
¡¡Asp.net 2.0ÖÐÐÂÔöµÄgridview¿Ø¼þ£¬ÊÇÊ®·ÖÇ¿´óµÄÊý¾Ýչʾ¿Ø¼þ£¬ÔÚÇ°ÃæµÄϵÁÐÎÄÕÂÀ·Ö±ðչʾÁËÆäÖкܶàµÄ»ù±¾Ó÷¨ºÍ¼¼ÇÉ¡£ÔÚ±¾ÎÄÖУ¬½«¼ÌÐø̽ÌÖÓйصļ¼ÇÉ¡£
¡¡¡¡Ò»¡¢GridviewÖеÄÄÚÈݵ¼³öµ½Excel
¡¡¡¡ÔÚÈÕ³£¹¤×÷ÖУ¬¾­³£Òª½«gridviewÖеÄÄÚÈݵ¼³öµ½excel±¨±íÖÐÈ¥£¬ÔÚasp.net 2.0Ö ......

asp.netÖеĴ°ÌåÉí·ÝÑéÖ¤£¨ÍêÕûƪ֮Î壺Í˳öµÇ¼£©

    Ç°Ãæ½éÉܹýÁËÈçºÎʹÓÃForms·½Ê½½øÐÐÓû§Éí·ÝÑéÖ¤£¬È»¶ø£¬ÔÚ´ó¶àÍøÕ¾Öж¼»áÓÐÒ»¸ö“Í˳ö”¹¦ÄÜ£¬ÈÃÓû§¿ÉÒÔͨ³öµÇ¼¡£ÔÚasp.netÖУ¬Í˳öµÄ·½Ê½ºÜ¼òµ¥£¬Ö»ÒªÔÚÍ˳öÒ³ÃæÖмÓÉÏ´úÂë“FormsAuthentication.SignOut()”¼´¿É¡£
    Äã¿ÉÒÔʹÓÃResponse.Redirect()ÔÚÍ˳öÖ® ......

asp.netʵÏÖα¾²Ì¬

Ò»£¬»ñµÃMircosoft URLRewriter.dll£º
»ñµÃMircosoft URLRewriter.dll¿ÉÒÔµ½http://www.microsoft.com/china/msdn/library/webservices/asp.net/URLRewriting.mspx?mfr=true
 ÏÂÔØÍê±Ïºó£¬µ¼È빤³Ì£¬ÎÒÕâÀïûÓжԸù¤³Ì×öÈκÎÐ޸ģ¬±£ÁôÁËÔ­À´µÄÖØд·½Ê½£¬È»ºóÖ±½ÓÔÚVS2005ÀïÃæÉú³É.dllÎļþ¾Í¿ÉÒÔÁË¡£
¶þ£¬Ê¹ÓøÃdl ......

Asp.netÒ³ÃæÖ®¼ä´«µÝ²ÎÊý·½·¨

µÚÒ»ÖÖ·½·¨£º­
     ͨ¹ýURLÁ´½ÓµØÖ·´«µÝ­
send.aspx:­
protected void Button1_Click(object sender, EventArgs e)­
    {­
        Request.Redirect("Default2.aspx?username=honge");­
  &n ......

ASP.NET+Ajax+JavascriptʵÏÖÒ³Ã涨´Îˢйö¶¯ÄÚÈÝ

Ò»¡¢¸ÅÊö
  Marquee£ºHtmlÖйöÆÁ¿Ø¼þ£¬¿ÉÒÔʹ°üº¬Ôڴ˱ê¼ÇÖеÄÄÚÈݽøÐи÷¸ö·½Ïò£¬¸÷ÖÖËٶȵĹö¶¯£¬Òò´ËÔÚ²»¿¼ÂÇʹÓõÚÈý·½¿Ø¼þµÄÇ°ÌáÏ£¬¿¼ÂÇʹÓÃMarquee+xmlhttpÀ´ÊµÏÖ¶¨´Î¸üÐÂÒ³ÃæÖеĹö¶¯ÄÚÈÝ£¬´ËʵÏÖÔÚIE6.0¼°ÒÔÉÏ°æ±¾²âÊÔͨ¹ý£¬ÆäËûä¯ÀÀÆ÷ÔÝʱδ²âÊÔ¹ý¡£
  MarqueeÖеÄonfinishʼþ£ºÔÚ¸øMarqueeÊôÐÔloop¸ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ