Cache浏览器

来源:互联网 发布:sql calc found rows 编辑:程序博客网 时间:2024/04/30 22:52

对Cache进行浏览并管理。

<%@ Page Language="C#" EnableViewState = "true"%> <%@ import Namespace="System" %> <%@ import Namespace="System.Configuration" %> <%@ import Namespace="System.Collections" %> <%@ import Namespace="System.Collections.Specialized" %> <%@ import Namespace="System.Data" %> <html> <head> <title>Cache管理器</title> TD,A,P,SPAN {font-size:9pt;} .Header {background-color:#EDEDED;text-align:center;font-weight:bold;} </head> <body > <form runat="server"> 浏览、删除缓存 <br/> 数量: </asp:Literal> <br/> 清除全部缓存项</asp:LinkButton> <br/> </asp:HyperLink> <br/><br/> <headerstyle cssclass="Header"></headerstyle> <columns> <itemtemplate> </itemtemplate> </asp:TemplateColumn> <itemtemplate> ' NavigateUrl = '<%# ((CachedItem)(Container.DataItem)).CacheKey %>'/> </itemtemplate> </asp:TemplateColumn> <itemtemplate> ' /> </itemtemplate> </asp:TemplateColumn> <itemtemplate> </itemtemplate> </asp:TemplateColumn> </columns> </asp:DataGrid> </form> </body> </html>
原创粉丝点击