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

ASP.NETÒ³ÃæˢеÄʵÏÖ·½·¨

ÏÈ¿´¿´ASP.NETÒ³ÃæˢеÄʵÏÖ·½·¨£º
µÚÒ»£º
C# codeprivate void Button1_Click( object sender, System.EventArgs e )
{
  Response.Redirect( Request.Url.ToString( ) );
}
µÚ¶þ£º
C# codeprivate void Button2_Click( object sender, System.EventArgs e )
{
Response.Write( " < script language=javascript>window.location.href=document.URL; < /script>" );
}
µÚÈý£º
C# codeprivate void Button3_Click( object sender, System.EventArgs e )
{
Response.AddHeader( "Refresh","0" );
}
µÚËÄ£º
C# codeprivate void Button6_Click( object sender, System.EventArgs e )
{
//ºÃÏñÓÐЩ²»¶Ô£¿
//Response.Write( " < script language=javascript>window.location.reload( ); < /script>" ); }
µÚÎ壺
HTML code< 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


Ïà¹ØÎĵµ£º

ASP.NET³ÌÐòÖг£ÓõÄÈýÊ®ÈýÖÖ´úÂë


1. ´ò¿ªÐµĴ°¿Ú²¢´«ËͲÎÊý£º 
¡¡¡¡´«ËͲÎÊý£º
response.write("£¼script£¾window.open(’*.aspx?id="+this.DropDownList1.SelectIndex+"&id1="+...+"’)£¼/script£¾")
¡¡¡¡½ÓÊÕ²ÎÊý£º
string a = Request.QueryString("id");
string b = Request.QueryStrin ......

ASP.NET Routing for URLRewriting with QueryStrings

In the last post I showed how to use the ASP.NET 3.5 Routing Engine
for URLRewriting purposes. I want to go further in this post by adding
the ability to add variables into a route path and forward and append
query string variables to the destination Web Form request.
A route can contain one or ......

ASP.NET MD5+SHA1 ¼ÓÃÜ

-----MD5¼ÓÃÜ
 
//ʹÓüÓÃÜ·þÎñÌṩ³ÌÐò(CSP) ÌṩµÄʵÏÖ£¬¼ÆËãÊäÈëÊý¾ÝµÄMD5 ¹þÏ£Öµ
            MD5CryptoServiceProvider crypto = new MD5CryptoServiceProvider();
            //½«×Ö·û´®× ......

Asp.NetÉèÖðó¶¨GridViewÖеĿؼþ

 1¡¢½çÃæ´úÂ룺         
  <asp:GridView ID="gridTemplateDetailList" runat="server"
                   AutoGenerateColumns="False"
  &nbs ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ