Files
g.hnyhua.cn/Mtxfw.shop/_Admin/admin_BackUpData.aspx

56 lines
2.4 KiB
Plaintext
Raw Permalink Normal View History

<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="admin_BackUpData.aspx.cs" Inherits="Mtxfw._admin.admin_BackUpData" %>
<%@ Register Assembly="AspNetPager" Namespace="Wuqi.Webdiyer" TagPrefix="webdiyer" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title></title>
<link href="css/style.css" rel="stylesheet" type="text/css" />
<link href="css/Burgundy.css" rel="stylesheet" type="text/css" />
</head>
<body>
<form id="form1" runat="server">
<div class="main">
<div class="bt1">系统设置 - 数据备份管理</div>
<div class="bt3">
<div class="rtitle"><asp:Button ID="Button_Back" runat="server" Text="备份新文件"
onclick="Button_Back_Click" CssClass="adda" /></div>
<table width="100%" class="addtable">
<tr>
<th style="width:30%"><b>备份日期</b></th>
<th><b>备份文件</b></th>
<th><b>文件大小</b></th>
</tr>
<asp:Repeater ID="Repeater1" runat="server">
<ItemTemplate>
<tr class="nopadding" <%#(Container.ItemIndex + 1)%2==0?"bgColor=\"#f4f4f4\" onmouseover=\"this.bgColor='#fdff7e'\" onmouseout='this.bgColor=\"#f4f4f4\"'":"bgColor=\"#ffffff\" onmouseover=\"this.bgColor='#fdff7e'\" onmouseout='this.bgColor=\"#ffffff\"'"%>>
<td><%#Eval("FileLastWriteTime").ToString()%></td>
<td><%#Eval("FileName")%></td>
<td><%#Eval("FileLength")%></td>
</tr>
</ItemTemplate>
</asp:Repeater>
<tr>
<td colspan="4" style="text-align:center">
<webdiyer:AspNetPager ID="AspNetPager1" AlwaysShow="true" runat="server"
FirstPageText="首页" LastPageText="尾页" NextPageText="下一页"
CustomInfoHTML="共 &lt;font color=&quot;red&quot;&gt;%RecordCount%&lt;/font&gt; 条记录 当前 &lt;font color=&quot;red&quot;&gt;%CurrentPageIndex%/%PageCount%&lt;/font&gt; 页"
PrevPageText="上一页" ShowPageIndexBox="Always" ShowCustomInfoSection="Left"
SubmitButtonText="Go" TextAfterPageIndexBox="页" ShowBoxThreshold="100"
CurrentPageButtonPosition="Center" ShowMoreButtons="False" PageIndexBoxType="DropDownList"
TextBeforePageIndexBox="转到" UrlPaging="True">
</webdiyer:AspNetPager>
</td>
</tr>
</table>
</div>
</div>
</form>
</body>
</html>