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

ASP.NETÒ³Ãæˢз½·¨×ܽá

 //ÏÈ¿´¿´ASP.NETÒ³ÃæˢеÄʵÏÖ·½·¨£º
//µÚÒ»£º
private void Button1_Click( object sender, System.EventArgs e ) { Response.Redirect( Request.Url.ToString( ) ); }
//µÚ¶þ£º
private void Button2_Click( object sender, System.EventArgs e ) { Response.Write( " < script language=javascript>window.location.href=document.URL; < /script>" ); }
//µÚÈý£º
private void Button3_Click( object sender, System.EventArgs e ) { Response.AddHeader( "Refresh","0" ); }
//µÚËÄ£º
private void Button6_Click( object sender, System.EventArgs e ) { //ºÃÏñÓÐЩ²»¶Ô£¿ //Response.Write( " < script language=javascript>window.location.reload( ); < /script>" ); }
//µÚÎ壺
< script>< !-- var limit="3:00" if ( document.images ) { var parselimit=limit.split( ":" )parselimit=parselimit[0]*60+parselimit[1]*1 } function beginrefresh( ) { if ( !document.images )returnif ( parselimit==1 )window.location.reload( )else { parselimit-=1curmin=Math.floor( parselimit/60 )cursec=parselimit%60if ( curmin!=0 )curtime=curmin+"·Ö"+cursec+"ÃëºóÖØË¢±¾Ò³£¡"elsecurtime=cursec+"ÃëºóÖØË¢±¾Ò³£¡"window.status=curtimesetTimeout( "beginrefresh( )",1000 ) } } window.onload=beginrefresh//--> < /script>< DIV style="Z-INDEX: 102; LEFT: 408px; POSITION: absolute; TOP: 232px" ms_positioning="text2D"> < P>< FONT size="3">×Ô¶¯Ë¢ÐÂÒ³Ãæ< /FONT>< /P> < /DIV>
//µÚÁù£º
< meta http-equiv="refresh" content="300; url=target.html"> ÓÃwindow.location.hrefʵÏÖË¢ÐÂÁí¸ö¿ò¼ÜÒ³Ãæ
ÔÚдasp.net³ÌÐòµÄʱºò£¬ÎÒÃǾ­³£Óöµ½ÌøתҳÃæµÄÎÊÌ⣬ÎÒÃǾ­³£Ê¹ÓÃResponse.Redirect £¬Èç¹û¿Í»§ÒªÔÚÌøתµÄʱºòʹÓÃÌáʾ£¬Õâ¸ö¾Í²»Áé¹âÁË£¬È磺
Response.Write("< script>alert('¹§Ï²Äú£¬×¢²á³É¹¦£¡'); < /script>"); Response.Redirect("main.html"); ÕâʱºòÎÒÃǵÄÌáʾÄÚÈÝûÓгöÀ´¾ÍÌøתÁË£¬ºÍResponse.Redirect("main.html"); ûÓÐÈκÎÇø±ð¡£
ÕâʱÎÒÃDzÉÓÃÏÂÃæ´úÂëÊÔÑéÒ»ÏÂASP.NETÒ³ÃæˢУº
Response.Write("< script language=javascript>alert('¹§Ï²Äú£¬×¢²á³É¹¦£¡')< /scrip


Ïà¹ØÎĵµ£º

ASP.NET¹ØÓÚÌõÐÎÂëµÄÉú³ÉÎÊÌâ¼æÍøÒ³´òÓ¡

ÌõÐÎÂëÊÇÆù½ñΪֹ×î¾­¼Ã¡¢ÊµÓõÄÒ»ÖÖ×Ô¶¯Ê¶±ð¼¼Êõ¡£ÌõÐÎÂë¼¼Êõ¾ßÓÐÒÔϼ¸¸ö·½ÃæµÄÓŵã
¡¡¡¡A£®ÊäÈëËٶȿ죺Óë¼üÅÌÊäÈëÏà±È£¬ÌõÐÎÂëÊäÈëµÄËÙ¶ÈÊǼüÅÌÊäÈëµÄ5±¶£¬²¢ÇÒÄÜʵÏÖ“¼´Ê±Êý¾ÝÊäÈ딡£
¡¡¡¡B£®¿É¿¿ÐԸߣº¼üÅÌÊäÈëÊý¾Ý³ö´íÂÊΪÈý°Ù·ÖÖ®Ò»£¬ÀûÓùâѧ×Ö·ûʶ±ð¼¼Êõ³ö´íÂÊΪÍò·ÖÖ®Ò»£¬¶ø²ÉÓÃÌõÐÎÂë¼¼ÊõÎóÂëÂʵ ......

½â¾öASP.NetÉÏ´«´óÎļþ³¬Ê±»ò´íÎóµÄÎÊÌâ

 ¡¡¡¡.Net ÀïÉÏ´«´óÎļþʱ£¬»áÓöµ½³¬Ê±»òHTTP500´íÎ󣬽â¾öµÄ°ì·¨ÓÐÁ½ÖÖ£ºÒ»ÖÖÊÇÐÞ¸ÄÅäÖã¬ÁíÒ»ÖÖ¾ÍÊÇÓõÚÈý·½¿Ø¼þ¡£ÕâÀï½éÉÜÒ»ÏÂÐÞ¸ÄÅäÖõġ£
ÐèÒªÐ޸ĵÄÊÇ
ÔÚ C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\CONFIGĿ¼À
ÕÒµ½ÎļþmaxRequestLength="4096"
½«ÖµÐ޸ĴóһЩ£¬ÀýÈ磺102400
Õâ¸ö²ÎÊýµÄµ¥Î»Ó¦¸ÃÊ ......

vs2008ÖÐasp.netµÄwebÓ¦ÓóÌÐò¸ÄwebÍøÕ¾

 vs2008ÖÐн¨b/s½á¹¹µÄÏîÄ¿ÓÐÁ½ÖÖÀàÐÍ£¬Ò»ÖÖÊÇweb application,¼´webÓ¦ÓóÌÐò£¬ÁíÍâÒ»ÖÖÊÇwebÍøÕ¾£¬Ð½¨ÏîĿʱÈç¹ûÑ¡ÔñµÄ²»ÕýÈ·£¬ÔÚºóÐøµÄ¿ª·¢¹ý³ÌÖоͲ»¿É±ÜÃâµÄ»áÓöµ½ÒªÐÞ¸ÄÏîÄ¿ÀàÐ͵ÄÇé¿ö¡£¾­¹ýÔÚÍøÉϱ¬×ßÒÔ¼°²âÊÔ£¬ÒÔÏÂÊǽâ¾öasp.netÓ¦ÓóÌÐò¸ÄÍøÕ¾ÏîÄ¿µÄ·½·¨¼°±³¾°ÖªÊ¶£º
1.vs2008µÄÏîÄ¿ÀàÐÍÊÇͨ¹ýguidÀ´È·¶¨µÄ ......

asp.net¼Æ»®ÈÎÎñ¹ÜÀí³ÌÐòʵÏÖ£¬¶àÏß³ÌÈÎÎñ¼ÓÔØ

 b/sģʽÏÂÓóÌÐòʵÏּƻ®ÈÎÎñ£¬Ò»Ö±ÊǸö²»Ì«ºÃ½â¾öºÍ¹ÜÀíµÄÎÊÌ⣬µ±È»¿ÉÒÔ²ÉÓÃajax ¼ÆʱÆ÷µÄ·½·¨Ä£Äâform¶ËµÄtimerʼþ¡£asp.netÏÂʵÏÖ¿ÉÒÔ½«¼Æ»®ÈÎÎñµÄ·½·¨·ÅÔÚglobalÀʹÓÃÒ»¸öͳһµÄÈÎÎñ¹ÜÀíÀàÀ´¹ÜÀí¸÷ÖÖÈÎÎñµÄÖ´ÐУ¬×öµ½²¢Ðв»ã££¡
ÏÂÃæÊÇÎÒдµÄÒ»¸ö·½·¨£¬Ï£ÍûÆð¸öÅ×שÒýÓñµÄ×÷Óã¡´ó¼ÒÒ»ÆðѧϰÏ£º
µÚÒ»²½¶¨ ......

ʹÓÃASP.NETÍøÕ¾loginµÈ¿Ø¼þµÄ»ù±¾²½Öè

1¡¢½¨Á¢Ò»¸öWebÓ¦ÓóÌÐòÏîÄ¿£¬Òª´´½¨½â¾ö·½°¸²¢´´½¨½â¾ö·½°¸Ä¿Â¼£¬ÒÔºó¿ÉÒÔ¸ù¾ÝÐèÒª´´½¨ÆäËûÏîÄ¿£¬È磺Àà¿â
2¡¢ÓÃaspnet_regsql¹¤¾ßÉú³ÉloginµÈ¿Ø¼þÐèÒªµÄºǫ́Êý¾Ý¿â±í
3¡¢°ÑÕâЩ±íºÍloginµÈµÇ½¿Ø¼þÁªÏµÆðÀ´£¬ÕâÀï×îºÃµÄ·½·¨ÊÇʹÓÃIISÍøÕ¾ÊôÐÔÀïÃæµÄASP.NET±êÇ©£¬ÔÚÄÇÀï¿ÉÒԱ༭ÅäÖÃÎļþ
     Æäʵ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ