<%@ Page language="c#" Codebehind="CacheViewer.aspx.cs" AutoEventWireup="false" Inherits="wqeshop.Admin.CacheViewer" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
	<HEAD>
		<title>CacheViewer</title>
		<LINK href="inc/style.css" type="text/css" rel="stylesheet">
	</HEAD>
	<body>
		<form id="Form1" method="post" runat="server">
<table width="100%" height="550" style="border:1px #619ADF solid; border-left:0;margin-top:6px; margin-right:7px;background:#F2F7FD;" cellspacing="0" cellpadding="0">
  <tr>
    <td valign="top">
<div class="top">
<table width="100%" align="center" cellspacing="0" cellpadding="0">
	<tr>
		<td class="tl"></td>
		<td class="tm"><span class="tt">系统管理 &gt;&gt; 数据缓存管理</span></td>
		<td class="tm2"><span class="tt"><a href="http://www.wangqi.com" target="_blank"><img src="Images/admin_help.gif" border="0" alt="帮助"></a></span></td>
		<td class="tr"></td>
	</tr>
</table>
</div>
<div class="mframe">
<table width="100%" align="center" cellspacing="0" cellpadding="0">
	<tr>
		<td class="tl"></td>
		<td class="tm"><div class="tt">&nbsp; 数据缓存管理</div></td>
		<td class="tr"></td>
	</tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
      <td class="ml"></td>
    <td  class="mm" align="left" valign="top">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td bgcolor="#EBF3FE" valign="top" style=" border-right:1px #77ABE5 solid;">
<table width="90%"  cellspacing="0" cellpadding="0">
	<tr>
		<td class="ml1"></td>
		<td class="mm1">
<table class="tableBorder" cellSpacing="0" cellPadding="0" width="640" align="center" border="0">
				<tr>
					<td><asp:LinkButton id="lbRemoveAll" runat="server">全部清除</asp:LinkButton>&nbsp;&nbsp;<asp:HyperLink id="hlRefresh" Text="刷新缓存" Runat="server"></asp:HyperLink></td>
					<td align="right">数据缓存数量：<asp:Literal id="litCount" runat="server"></asp:Literal></td>
				</tr>
				<tr>
					<td height="23" class="forumRowHighlight" colspan="2">
						<asp:DataGrid id="dgCachedItems" runat="server" AutoGenerateColumns="False" Width="100%" HorizontalAlign="Center"
							HeaderStyle-CssClass="summary-title">
							<HeaderStyle Font-Bold="True"></HeaderStyle>
							<Columns>
								<asp:TemplateColumn HeaderText="序号">
									<ItemTemplate>
										<asp:Literal id="Counter" runat="server" />
									</ItemTemplate>
								</asp:TemplateColumn>
								<asp:TemplateColumn HeaderText="名称(Key)">
									<ItemTemplate>
										<asp:Literal id="CacheItemName" runat="server" text='<%# ((CachedItem)(Container.DataItem)).CacheKey %>' />
									</ItemTemplate>
								</asp:TemplateColumn>
								<asp:TemplateColumn HeaderText="数据类型">
									<ItemTemplate>
										<asp:Literal id="CacheItemDataType" runat="server" text='<%# ((CachedItem)(Container.DataItem)).CacheType %>' />
									</ItemTemplate>
								</asp:TemplateColumn>
								<asp:TemplateColumn HeaderText="删除">
									<ItemTemplate>
										<asp:LinkButton ID="RemoveButton" Text="删除" CommandName="RemoveFromCache" runat="server" />
									</ItemTemplate>
								</asp:TemplateColumn>
							</Columns>
						</asp:DataGrid>
					</td>
				</tr>
			</table>
<table cellSpacing="0" cellPadding="0" width="640" align="center" border="0">
				<tr>
					<td height="25" align="left">
						&nbsp;&nbsp;<b> 页面缓存管理</b></td>
					
				<tr>
				</tr>
			</table>
<table cellspacing="0" align="center" rules="all" border="1" style="WIDTH:100%;BORDER-COLLAPSE:collapse">
							<tr class="summary-title" style="FONT-WEIGHT:bold">
								<td>序号</td>
								<td>页面名称</td>
								<td>页面描述</td>
								<td>操作</td>
							</tr>
							<tr>
								<td>
									1
								</td>
								<td>
									Default.aspx
								</td>
								<td>
									商城首页
								</td>
								<td>
									<asp:LinkButton id="lbtUpdate" runat="server">更新</asp:LinkButton>
								</td>
							</tr>
							<tr>
								<td>
									2
								</td>
								<td>
									List.aspx
								</td>
								<td>
									商品列表页面
								</td>
								<td>
									<asp:LinkButton id="lbtUpdateList" runat="server">更新</asp:LinkButton>
								</td>
							</tr>
							<tr>
								<td>
									3
								</td>
								<td>
									News.aspx(NewsIndex.aspx)
								</td>
								<td>
									新闻系统首页
								</td>
								<td>
									<asp:LinkButton id="lbtUpdateNews" runat="server">更新</asp:LinkButton>
								</td>
							</tr>
							<tr>
								<td height="18">
									4&nbsp;
								</td>
								<td height="18">
									Price.aspx
								</td>
								<td height="18">
									报价中心页面
								</td>
								<td height="18">
									<asp:LinkButton id="lbtUpdatePrice" runat="server">更新</asp:LinkButton>
								</td>
							</tr>
							<tr>
								<td>
									5&nbsp;
								</td>
								<td>
									Search.aspx
								</td>
								<td>
									搜索中心页面
								</td>
								<td>
									<asp:LinkButton id="lbtUpdateSearch" runat="server">更新</asp:LinkButton>
								</td>
							</tr>
						</table>
						
						
									
		</td>
		<td class="mr1"></td>
	</tr>
</table>
</td>
  </tr>
</table>


<table width="100%" align="center" cellspacing="0" cellpadding="0">
	<tr>
		<td class="bl"></td>
		<td class="bm">&nbsp;</td>
		<td class="br"></td>
	</tr>
</table>
</td>
    <td  class="mr"></td>
  </tr>
</table>
<table width="100%" align="center" cellspacing="0" cellpadding="0">
	<tr>
		<td class="bl"></td>
		<td class="bm">&nbsp;</td>
		<td class="br"></td>
	</tr>
</table>

</div>
    </td>
  </tr>
</table>
		</form>
	</body>
</HTML>
