//ҳ滺漼
ҳ沿ָֻҳĳЩ֣ǻҳݡʵҳ沿ֻֻƣһǽҳ
ҪĲûؼ.ascxļУΪûؼû湦ܣûؼASP.NETҳҲɲ
û棩ͨ˵ġؼ桱ÿؼʵǶûؼлáҪ3ַһ
ʹ@ OutputCacheָʽΪûؼû湦ܣڴļʹPartialCachingAttribute
ûؼ棻ʹControlCachePolicyԱ̷ʽָûؼá⣬һֳΪ滻
ķ÷ؼ෴ҳеĳһΪ棬ˣܻҳ棬ǵٴ
ҳʱ´ЩûΪݡ 
ʹ@ OutputCacheָ 
ؼҳ@ OutputCacheָ֮вͬķ档ߵĹͬǵ÷
ͬļðԵ@ OutputCacheַָͬ棺һǿؼ@ OutputCacheָ
ûؼļУҳ@ OutputCacheͨASP.NETļСǿؼ@ OutputCacheָ
ֻ6ԣDurationSharedSqlDependencyVaryByControlVaryByCustomVaryByParamҳ
@ OutputCacheַָõԶ10ÿؼʱҪע⡣оһЩ@ OutputCacheָ
ÿؼʾص˵VaryByParamVaryByControlӦá 
ûؼе@ OutputCacheָԴ 
%@ OutputCache Duration="120" VaryByParam="CategoryID;SelectedID"% 
ϴûؼЧʱ120룬ʹCategoryIDSelectedIDı仺档ͨVaryByParam
ãڷпܴ洢ûؼʵ磬һûؼҳ棬ܴµURLӡ 
ûؼҳURL 
http://localhost/mypage.aspx?categoryid=fooselectedid=0 
http://localhost/mypage.aspx?categoryid=fooselectedid=1 
URLַҳʱڿؼ@ OutputCacheָãVaryByParamãôڷоͻ洢汾ûؼʵ 
ؼó֧VaryByParam⣬֧VaryByControlԡVaryByParamԻʹPOSTGETʽ͵/ֵı仺棬VaryByControlͨûؼļаķؼı仺档VaryByControlԵӦʾ롣 
ûؼе@ OutputCacheָԴ 
%@ OutputCache Duration="120" VaryByParam="none" VaryByControl="Category" % 
ϴûЧ120룬ҳ治κGETPOSTı䣨ʹʹVaryByParamԣȻҪ@ OutputControlָʽԣûؼаIDΪCategoryķؼؼô潫ݸÿؼı仯洢ûؼݡ


//ʹûسڶTextBoxؼת
<script>
function keyDown()
{
	var MyKeycode=event.keyCode;
	if (MyKeycode==13)
		event.keyCode=9;
}
document.onkeydown=keyDown;
</script>

<script>
function Over(MySpan,TheID,Sum)
{
var i;
for (i=1;i<=Sum;i++)
document.getElementById(MySpan+i.toString()).style.display="none";
document.getElementById(MySpan+TheID.toString()).style.display="";
}
</script>
//ļ
<bgsound src="../images/ӭ㡻.mp3" loop="false" balance="0" volume="0">

//
<a href='javascript:history.back()'></a>
<a href='javascript:history.go(-1)'></a>

//
<A href="javascript:window.scroll(0,0)"></a>

//ղ
onClick="window.external.AddFavorite(parent.location.href, document.title);"

//һԼдinputڿؼ¼ıݵĽű
		<script>
		function InputMsg(ControlID,txtContent)
		{
		var MyControl=document.getElementById(ControlID);
		if (MyControl.value==txtContent)
		MyControl.value="";
		}
		function OutputMsg(ControlID,txtContent)
		{
		var MyControl=document.getElementById(ControlID);
		if (MyControl.value=="")
		MyControl.value=txtContent;
		}
		</script>

//صǰĿ¼򿪵ǰĿ¼Դ
Process.Start(Directory.GetCurrentDirectory());

//as ASP.netе÷ʾ
DropDownList ddb=e.Item.FindControl("DDL_PID") as DropDownList;
ͬDropDownList ddb=(DropDownList)e.Item.FindControl("DDL_PID");

//3ֺԶת
<meta http-equiv="refresh" content="3; url=Index.aspx">

//Զˢҳ[ôԶʱ䲻ͣˢҳ][Ϊ20]
====1´HEML<body></body>֮䣺
<meta http-equiv="refresh" content="20;url=ǰҳ·"> 


//ÿʽ
<div id="wulang" align=center style="FONT-SIZE: 38pt; FILTER:progid:DXImageTransform.Microsoft.shadow(direction=90;color=#00CC00,strength=30); WIDTH: 100%; COLOR: #00cc00; FONT-FAMILY: п; POSITION: absolute; HEIGHT: 56px">
ϲϲѳΪվԱ
</div>


//ʽ˵
<html>

<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<meta name="GENERATOR" content="Microsoft FrontPage 4.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<title>New Page 1</title>
<style type="text/css">
body{font: 9pt ""; margintop: 0px ; color: #ffffff; background: #000000}
a.{ font: 9pt ""; cursor: hand; font-size: 9pt ; color: #ffffff; text-decoration: none }
a:active{ font: 9pt ""; cursor: hand; color: #FF0033 }
a.cc:hover{ font: 9pt ""; cursor: hand; color: #FF0033}
.box{ font: 9pt ""; position: absolute; background: #000000 }
</style></head>

<body>
<table id="itemopen" class="box" style="display:none">
<tr>
<td>˵</td>
</tr>
<tr>
<td><a href="../../../index.html" class="cc">վҳ</a></td>
</tr>
<tr>
<td><a href="../../navigation/newscript.htm" class="cc">¸</a></td>
</tr>
<tr>
<td><a href="../../navigation/applet/appletindex.htm" class="cc"></a></td>
</tr>
<tr>
<td><a href="../../../jsschool/index.htm" class="cc">ֽ</a></td>
</tr>
<tr>
<td><a href="popmenu.htm" class="cc"></a></td>
</tr>
<tr>
<td><a href="popmenu.htm" class="cc"></a></td>
</tr>
<tr>
<td><a href="popmenu.htm" class="cc"></a></td>
</tr>
</table>
<!-- End of Popup Menu -->
<script language="JavaScript">
document.onclick = popUp 
function popUp() {
newX = window.event.x + document.body.scrollLeft
newY = window.event.y + document.body.scrollTop
menu = document.all.itemopen
if ( menu.style.display == ""){
menu.style.display = "none" }
else {
menu.style.display = ""}
menu.style.pixelLeft = newX - 50
menu.style.pixelTop = newY - 50
}
</script> 
</body>

</html>

51aspx.com

//سASCII13
//ոASCII32




