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.
Ïà¹ØÎĵµ£º
http://files.cnblogs.com/chengulv/SoftRegion.rar
Microsoft .NetµÄÓ¦ÓóÌÐòµÄ´úÂëÎļþ£¬ÓëJavaÉú³ÉµÄÎļþÀàËÆ£¬ËüÃǶ¼Ã»Óб¾µØ´úÂ룬¶øÊÇÒ»ÖÖÀàËÆÓÚ»ã±àµÄ´úÂë¡£ÕâÑù£¬Ö»ÒªÓкÏÊʵŤ¾ß£¬¾Í¿ÉÒÔÍêÕûµÄ°Ñ±ðÈËд³öÀ´µÄ³ÌÐò·´±àÒë³É×Ô¼ºÐèÒªµÄ³ÌÐòÎļþ¡£
ÎÒËùÖªµÀµÄ.Netϵķ´»ã±à³ÌÐòÊÇSalamander ºÍ Refelector Á½¸ö¹¤ ......
FileUp.aspx Ò³Ãæ
1<%@ Page language="c#" Codebehind="FileUp.aspx.cs" AutoEventWireup="false" Inherits="TestCenter.FileUp" %>
2<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
3<HTML>
4 <HEAD>
5 &l ......
ASP.NET²Ù×÷Êý¾Ý¿â
ͨ¹ý¶ÔADO.NETµÄ»ù±¾½²½â£¬ÒÔ¼°½²½âÁËһЩÊý¾ÝÔ´¿Ø¼þµÄ»ù±¾Ó÷¨ºó£¬±¾Õ½«½éÉÜһЩASP.NET²Ù×÷Êý¾Ý¿âµÄ¸ß¼¶Ó÷¨£¬°üÀ¨Ê¹ÓÃSQLHelper£¬ÒÔ¼°Êý¾ÝÔ´¿Ø¼þ¶ÔÊý¾ÝµÄ²Ù×÷¡£±¾ÕÂÊǶÔÇ°ÃæµÄÊý¾Ý¿â֪ʶµÄÒ»ÖÖ²¹³äºÍÌáÉý¡£
9.1 ʹÓÃADO.NET²Ù×÷Êý¾Ý¿â
ÉÏÒ»ÕÂÖнéÉÜÁËADO.NETµÄ»ù±¾¸ÅÄî¡¢ADO.NETµÄ¶ÔÏó£¬ÒÔ¼ ......
ÔÚASP.NET2.0ÖУ¬ÎªÎÒÃÇÌṩÁËÁ½ÖÖй¦ÄÜ£¬·½±ãÎÒÃÇÖÆ×÷¹²Í¬ÌØÕ÷Ò»ÖµÄÒ³ÃæºÍµ¼º½¡£ÕâÁ½ÖÖ¹¦ÄÜÊÇĸ°åÒ³ºÍÍøÕ¾µ¼º½¡£¶ÔÓÚĸ°åÒ³´ó¼ÒºÜÇå³þÁË£¬²»¹ýÔÚ×öĸ°åҳʱ£¬¾³£ÐèÒªÌí¼Óµ¼º½À¸£¬¶ÔÓÚ´Ëasp.net 2.0 ʹÎÒÃǵŤ×÷´óΪ¼ò»¯¡£Õâ±ãÊÇÕ¾µãµØͼµÄʹÓá£
¹ËÃû˼Ò壬վµãµØͼ¾ÍÊÇÔÚÕ¾µã ......
System.Drawing.Image watermark = System.Drawing.Image.fromFile(Server.MapPath("watermark.gif"));
Bitmap srcImg = new Bitmap(Server.MapPath("example.jpg"));
Graphics graphics = Graphics.fromImage(srcImg);
graphics.DrawImage(watermark,
srcImg.Width - watermark.Width,
srcImg.Height - w ......