⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 fragmentcache.aspx

📁 掌握学习.net开发的非常好的资料
💻 ASPX
字号:
<%@ Page Language="VB" debug="true" Description="dotnetCHARTING Component"%>
<%@ Register TagPrefix="dotnet"  Namespace="dotnetCHARTING" Assembly="dotnetCHARTING"%>
<%@ Import Namespace="System.Drawing" %>
<%@ Register TagPrefix="fragment" Tagname= "chart" Src="fragmentcache.ascx" %>


<script runat="server">

Sub Page_Load(sender As [Object], e As EventArgs)
   
   Dim Dt As DateTime = DateTime.Now
   Response.Write(("This page was created at " + Dt.ToString()))
End Sub 'Page_Load 

</script>
<HTML><HEAD><TITLE>Fragmnet Cache Sample</TITLE></HEAD>
<BODY>
<DIV align=center>
 <fragment:chart runat="server"/>
 <font size="2" face="Arial">Refresh this chart, it will be cached for 10 seconds then a new chart will be created. You will also see that page render itself is not cached.  You will see the page time increase while the chart time does not until 10 seconds pass. See <a href="outputcache.aspx">outputcache</a> for a sample where both the chart image and page are cached together.
 </font> 
</DIV>
</BODY>
</HTML>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -