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>
µÚÁù£º
ÔÚдASP.Net³ÌÐòµÄʱºò£¬ÎÒÃǾ³£Óöµ½ÌøתҳÃæµÄÎÊÌ⣬ÎÒÃǾ³£Ê¹ÓÃResponse.Redirect £¬Èç¹û¿Í»§ÒªÔÚÌøתµÄʱºòʹÓÃÌáʾ£¬Õâ¸ö¾Í²»ÐУ
Ïà¹ØÎĵµ£º
IIS´¦ÀíÒ³ÃæµÄÔËÐлúÖÆ£º
IIS×ÔÉíÊDz»ÄÜ´¦ÀíÏñASPXÀ©Õ¹ÃûÕâÑùµÄÒ³Ã棬ֻÄÜÖ±½ÓÇëÇóÏñHTMLÕâÑùµÄ¾²Ì¬Îļþ£¬Ö®ËùÒÔÄÜ´¦ÀíASPXÕâÑùÀ©Õ¹ÃûµÄÒ³Ã棬ÊÇÒòΪIISÓÐÒ»¸öISAPI¹ýÂËÆ÷£¬ËüÊÇÒ»¸öCOM×é¼þ¡£ASP.NET·þÎñÔÚ×¢²áµ½IISµÄʱºò£¬¾Í»áÌí¼ÓÒ»¸öWin32µÄÀ©Õ¹¶¯Ì¬¿âaspnet_isapi.dll¡£²¢½«À©Õ¹¿ÉÒÔ´¦ÀíµÄÒ³ÃæÀ©Õ¹Ãû£¨ÈçASPX ......
vs2005 ûÓÐASP.NET WEBÓ¦ÓóÌÐò£¨Application£©µÄ½â¾ö·½°¸
vs2005 sp1ÏÂÔصØÖ·
2009-02-21 09:08
VS80sp1-KB926604-X86-CHS.exe
WebApplicationProjectSetup.msi
Ïà¹ØÎÄÕÂ:
×î½ü°ïͬÊ°²×°ÁËVs2005ºÍsp1,·¢ÏÖ¸ù±¾´ò²»¿ªÔÀ´µÄ³ÌÐò£¬Ð½¨ÏîÄ¿ÖÐûÓÐASP.NET WEBÓ¦ÓóÌÐò,ͬʵÄϵͳÊÇwindows 2003,¶øÔÚwi ......
ÔÚÖÐÎÄVS2008Öа²×°ASP.NET MVC¿ò¼Ü£¬Ê×ÏÈÐèÒªÏÂÔØmvc¿ò¼Ü
µãÕâÀïÏÂÔØ,Ä¿Ç°°æ±¾ÎªPreview 2
ÔËÐÐÎļþAspNetMVCPreview2-setup.msi½øÐа²×°,°²×°Íê³Éºó·¢ÏÖÔÚVS2008ÀïÃ沢ûÓÐMVCÄ£°å³öÏÖ¡£ÓÖµ½´¦GoogleÁËÒ»±é£¬·¢ÏÖÓв»ÉÙÈËÓöµ½Õâ¸öÎÊÌ⣬µ«ÊÇ»¹Ã»¿´µ½ÍêÈ«½â¾öµÄ°ì·¨¡£
Ä¿Ç°Óöµ½ÎÊÌâµÄ»ù±¾¼¯ÖÐÔÚMicrosoft Visual Studio ......
public string NoHTML(string Htmlstring) //È¥³ýHTML±ê¼Ç
{
//ɾ³ý½Å±¾
Htmlstring = Regex.Replace(Htmlstring, @" <mce:script[^><!--
]*?>.*?
// --></mce:script>", "", RegexOptions.IgnoreCase);
//ɾ³ýHTML
Htmlstring = Re ......
ASP.NET³£ÓõÄ6ÖÖÑéÖ¤¿Ø¼þ£¬ÈçÏ£º
RequiredFieldValidator £¨±ØÐë×Ö¶ÎÑéÖ¤£© ÓÃÓÚ¼ì²éÊÇ·ñÓÐÊäÈëÖµ
CompareValidator £¨±È½ÏÑéÖ¤£© °´É趨±È½ÏÁ½¸öÊäÈë
RangeValidator £¨·¶Î§ÑéÖ¤£© ÊäÈëÊÇ·ñÔÚÖ¸¶¨·¶Î§
RegularExpressionValidator £¨Õ ......