<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="YC_SQLBAK_List.aspx.cs" Inherits="YCHR.Web.admin.Sys.YC_SQLBAK_List" %>

<!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 id="Head1" runat="server">
    <title>频道管理</title>
    <link rel="stylesheet" type="text/css" href="../images/style.css" />
   
    <script type="text/javascript" src="../js/jquery.js"></script>
 
 
    <script type="text/javascript">

        $(function () {
            $(".msgtable tr:nth-child(odd)").addClass("tr_bg"); //隔行变色
            $(".msgtable tr").hover(
			    function () {
			        $(this).addClass("tr_hover_col");
			    },
			    function () {
			        $(this).removeClass("tr_hover_col");
			    }
		    );
        });
    </script>
    
</head>
<body style="padding:10px;">
    <form id="form1" runat="server">
    <div class="navigation"><span class="add"></span><b>您当前的位置：首页 &gt; 资讯管理 &gt; 资讯列表</b></div>
    <div class="spClear"></div>   
       
    <table width="100%" border="0" align="center" cellpadding="2" cellspacing="1" >
 
  <tr>
    <td height=25 class="pl20"><b>管理选项：  <a href="YC_SQLBAK_List.aspx">备份列表</a> |<a href="YC_SQLBAK.aspx">备份数据库</a>  [<a href="javascript:location.reload()">刷新页面</a>]</b></td>
  </tr>

</table>

    <div class="spClear"></div>
   
    <table width="100%" border="0" cellspacing="0" cellpadding="0" class="msgtable">
      <tr>
        <th width="10%" align="center">选择</th>
        <th width="20%" align="center">文件名</th>
         <th width="20%" align="center">文件大小(byte)</th>
         <th width="20%" align="center">备份时间</th>
      
        <th width="30%" align="center">操作</th>
      </tr>
     <asp:Repeater ID="repsqlbak" runat="server" onitemcommand="repsqlbak_ItemCommand">
     <ItemTemplate>
      <tr>
        <td align="center">    <asp:HiddenField ID="txtid" Value='<%#Eval("id") %>' runat="server" /> 
        <asp:HiddenField ID="txtname" Value='<%#Eval("name") %>' runat="server" /> <asp:CheckBox ID="cb_id" CssClass="checkall" runat="server" /> </td>
        <td align="center"><a href="/db/<%#Eval("name") %>"><%#Eval("name") %></a> </td>
        <td align="center"><%#Eval("size") %></td>
         <td align="center"><%#Eval("addtime")%></td>
         
        <td align="center"> 
            <asp:Button ID="Button1" CommandName="restoreSQL"  runat="server" Text="用该备份数据还原" /> </td>
      </tr>
     </ItemTemplate>
     </asp:Repeater>     
    
       
    
      </table>
    
 <asp:Button ID="Button2" runat="server" Text="删除" onclick="Button2_Click" />
     
    </form>
</body>
</html>
