<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="BackDb.aspx.cs" Inherits="WstWeb.Admin.Basic.BackDb" %>

<!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 rel="stylesheet" type="text/css" href="../css/style.css" />
   <script src="../Js/jquery-1.6.min.js" type="text/javascript"></script>
       <script src="../Js/WinFuns.js" type="text/javascript"></script>
    <script src="../Js/pageloader.js" type="text/javascript"></script>
</head>
<body>
    <form id="form1" runat="server">
      <div class="ctright">
   <div class="map"><h3><strong class="left">数据库备份管理</strong><strong class="right search_icon"><a href="JavaScript:void(0)" onclick="EditInfo(-1)"></a></strong></h3></div>
    <div class="clear"></div>
    <div class="form">
     <table class="table1" width="100%" border="1" cellspacing="0" cellpadding="0">
  <tbody>
<tr>
<td>    <asp:Button ID="Button1" runat="server" Text="生成备份文件" onclick="Button1_Click" />
</td>
</tr>
</tbody>
</table>
    </div>
  <div class="form" style="margin-top:10px;">
 

<asp:GridView ID="GridView1"  runat="server" AutoGenerateColumns="False"  CssClass="gridView" CellPadding="0" CellSpacing="0">
<Columns>
<asp:BoundField DataField="BackName" HeaderText="备份名"/>
<asp:BoundField DataField="BackTime" HeaderText="备份时间" DataFormatString="{0:yyyy-MM-dd}" ItemStyle-Width="80"/>
<asp:HyperLinkField ControlStyle-CssClass="bluelk" DataTextField="BackName"    DataNavigateUrlFields="linkUrl" DataNavigateUrlFormatString="{0}" HeaderText="下载" Target="_blank" />
<asp:BoundField DataField="FileSize" HeaderText="文件大小(M)" ItemStyle-Width="80"/>                         
<asp:TemplateField HeaderText="删除"  ItemStyle-Width="60">
<ItemTemplate>
<asp:LinkButton ID="lbtn_sc"  CssClass="bluelk" CommandArgument='<%# Eval("BackName") %>' Text="<div class=&quot;bluelk&quot; id=&quot;de&quot; onclick=&quot;JavaScript:return confirm('确定要删除该记录吗？')&quot;>[删除]</div>" runat="server" OnCommand="lbtn_sc_Command"></asp:LinkButton>
</ItemTemplate>
</asp:TemplateField> 
</Columns>
</asp:GridView>


</div>
</div>
    </form>
</body>
</html>
