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

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('¹§Ï²Äú£¬×¢²á³É¹¦£¡')< /script>"); Response.Write("< script language=javascript>


Ïà¹ØÎĵµ£º

asp.net²Ù×÷XMLС½á

 

Ò»¡¢¼òµ¥½éÉÜ
using System.Xml;
//³õʼ»¯Ò»¸öxmlʵÀý
XmlDocument xml=new XmlDocument();
//µ¼ÈëÖ¸¶¨xmlÎļþ
xml.Load(path);
xml.Load(HttpContext.Current.Server.MapPath("~/file/bookstore.xml"));
//Ö¸¶¨Ò»¸ö½Úµã
XmlNode root=xml.SelectSingleNode("/root" ......

ASP.NET


      AdRotator Web ·þÎñÆ÷¿Ø¼þ¿ÉÓÃÓÚÏÔʾÁ´½Óµ½ÆäËûÒ³µÄͼÐΡ£ÒªÏÔʾµÄͼÐÎÁбíºÍ¹ØÁªµÄÄ¿±êÁ´½Ó½«±£ÁôÔÚÊý¾ÝÔ´ÖУ¬Èç XML Îļþ»òÊý¾Ý¿â¡£
 
1¡¢·½°¸
AdRotator Web ·þÎñÆ÷¿Ø¼þÌṩһÖÖÔÚ ASP.NET ÍøÒ³ÉÏÏÔʾ¹ã¸æµÄ·½·¨¡£¸Ã¿Ø¼þ¿ÉÏÔʾÄúÌṩµÄ .gif Îļþ»òÆäËûͼÐÎͼÏñ¡£µ±Óû§µ¥»÷¹ ......

ASP.NET

      BulletedList ¿Ø¼þ´´½¨Ò»¸öÎÞÐò»òÓÐÐò£¨±àºÅµÄ£©µÄÏîÁÐ±í£¬ËüÃÇ·Ö±ð³ÊÏÖΪ HTML ul »ò ol ÔªËØ¡£
 
1¡¢·½°¸
BulletedList ¿Ø¼þÓÃÓÚÖ´ÐÐÒÔϲÙ×÷£º
·Ö¸¶¨ÁбíÖÐÏî¡¢ÏîÄ¿·ûºÅ»ò±àºÅµÄÍâ¹Û¡£
·¾²Ì¬¶¨ÒåÁбíÏî»òͨ¹ý½«¿Ø¼þ°ó¶¨µ½Êý¾ÝÀ´¶¨ÒåÁбíÏî¡£
·ÏìÓ¦Óû ......

ASP.NETÈý²ã½á¹¹ÓëMVCģʽµÄÇø±ð

 ÕâÁ½Õß±¾Éí½²µÄÊDz»Í¬·½ÏòÓë½Ç¶ÈµÄÎÊÌ⣬ÔÚʵ¼ÊÓ¦ÓÃÖÐËûÃǵÄÈ·´æÔÚһЩÏàËƵÄÌص㣬ÔںܶàÊé¼®ÖÐҲûÓÐÉîÈë½²½â£¬ÒÔÖÂÓÚÔì³ÉÀ§»ó£¬ÎªÁ˸üºÃµÄÀí½âËûÃÇ£¬ÄǾÍÀ´ËµËµÇø±ð°É¡£
¡¡¡¡Ê×ÏÈN²ã½á¹¹ÊÇÒ»ÖÖÈí¼þ³éÏóµÄ²ã´Î½á¹¹£¬ÊǶԸ´ÔÓÈí¼þµÄÒ»ÖÖ×ÝÏòÇз֣¬Ã¿Ò»²ã´ÎÖÐÍê³ÉͬһÀàÐ͵IJÙ×÷£¬ÒԱ㽫¸÷ÖÖ´úÂëÒÔÆäÍê³ÉµÄʹÃü×÷ÎªÒ ......

ASP.NET

      ʹÓà ASP.NET °´Å¥ Web ·þÎñÆ÷¿Ø¼þ¿ÉʹÓû§Äܹ»½«Ò³·¢Ë͵½·þÎñÆ÷²¢´¥·¢Ò³ÉϵÄʼþ¡£
Ò»¡¢±³¾°
¿ÉʹÓà Button Web ·þÎñÆ÷¿Ø¼þΪÓû§ÌṩÏò·þÎñÆ÷·¢ËÍÒ³µÄÄÜÁ¦¡£¸Ã¿Ø¼þ»áÔÚ·þÎñÆ÷´úÂëÖд¥·¢Ò»¸öʼþ£¬Äú¿ÉÒÔ´¦Àí¸ÃʼþÀ´ÏìÓ¦»Ø·¢¡£ÀýÈ磬Óû§¿ÉÒÔָʾÒÑÍê³É±íµ¥»òÏ£ÍûÖ´ÐÐÌض¨µÄÃüÁî¡£
AS ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ