<%@ Page Language="C#" AutoEventWireup="true" Inherits="MyITJob.Admin_SQLBackup" Codebehind="SQLBackup.aspx.cs" %>

<!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><%=Application["PageTitle"]%>——数据库备份</title>
        <link href="../images/Admin_Style.css" rel="stylesheet" type="text/css" />
</head>
<body>
    <form id="form1" runat="server">
    <div>
    <asp:Panel ID = "Backup" runat ="server">
      <table width='100%' height="125" border='0' align='center' cellpadding='4' cellspacing='0' class='border'>
          <tr class='topbg2'>
            <td height="24" colspan="3" align='center'><strong class="Glow">备 份 数 据 库</strong></td>
          </tr>

          <tr class='tdbg'>
            <td width="20%" height="62"><div align="right"><strong>备份名称：</strong></div></td>
            <td width="13%"><asp:TextBox ID="TextBox1" runat="server"></asp:TextBox></td>
          <td width="67%">
                请填写需要备份的数据库名称（无视大小写）。如有同名文件，将覆盖</td>
          </tr>
          <tr class='tdbg'>
            <td height="25">&nbsp;</td>
            <td>&nbsp;</td>
            <td><asp:Button ID="Button1" runat="server" Text="开 始 备 份" OnClick="Button1_Click" />            
            <asp:Label ID="Label1" runat="server" ForeColor="Red"></asp:Label></td>
          </tr>
      </table>
      </asp:Panel>
      <asp:Panel ID="restore" runat="server">
        <table width='100%' height="112" border='0' align='center' cellpadding='2' cellspacing='0' class='border'>
          <tr class='topbg2'>
            <td height="24" colspan="3" align='center'><strong class="Glow">数 据 库 还 原</strong></td>
          </tr>
          <tr class='tdbg'>
            <td width="24%" height="57"><div align="right"> 还原备份数据库：</div></td>
            <td width="13%">
                <asp:TextBox ID="TextBox2" runat="server"></asp:TextBox>&nbsp;</td>
            <td width="63%">请填写需要还原的数据库。<br />
              <span class="style4">！慎用，请先关闭数据库服务！</span><br />
如果您是租用的服务器空间，请联系供应商帮你恢复备份的数据库。</td>
          </tr>

          <tr class='tdbg'>
            <td height="25">&nbsp;</td>
            <td colspan="2"><asp:Button ID="Button2" runat="server" Text="恢 复 数 据" OnClick="Button2_Click" />        
                <asp:Label ID="Label2" runat="server" ForeColor="Red"></asp:Label></td>
          </tr>
      </table>
      </asp:Panel>
        <table width="100%" border="0" cellspacing="1" cellpadding="3">
          <tr>
            <td class="topbg"><div align="center">Copyright 2009-2019  <%=Application["PageTitle"] %> All Rights Reserved.</div></td>
          </tr>
        </table>
    </div>
    </form>
</body>
</html>
