<%@ Register TagPrefix="uc1" TagName="Pager" Src="../../modules/Pager.ascx" %>
<%@ Page CodeBehind="backup.aspx.cs" Language="c#" AutoEventWireup="True" Inherits="health.aspx.backup" %>
<HTML>
	<HEAD>
		<title></title>
		<meta content="Microsoft Visual Studio .NET 7.1" name="GENERATOR">
		<meta content="C#" name="CODE_LANGUAGE">
		<meta content="JavaScript" name="vs_defaultClientScript">

		<LINK href="../../css/style.css" type="text/css" rel="stylesheet">
		<script language="JavaScript" src="../../js/Calendar.js" type="text/javascript"></script>
		<script language="JavaScript" src="../../js/common.js" type="text/javascript"></script>
	</HEAD>
	<body>
		<form id="Form1" method="post" runat="server">
		<br>
		<TABLE  id="Table3" align="center" border=0 cellpadding="0" cellspacing="0"  width="90%" >
		   <tr>
		   <td>
              <table id="Table5" border="0" cellpadding="0" cellspacing="1" class="sys_grid"  width="100%">
                <tr>
                    <td align="left" class="sys_head_cell"><IMG src="../../Image/search.gif" align="absMiddle">
                        <asp:Label ID="Label3" runat="server" Text="数据库备份与恢复"></asp:Label></td>
                </tr>
				<TR>
					<TD >
                        &nbsp;<asp:Label ID="Label1" runat="server" Text="备份文件名："></asp:Label>
                        <INPUT id="pathTextBox" type="text" name="pathTextBox" runat="server" Width="224px"><asp:Label
                            ID="Label2" runat="server" Text=".bak"></asp:Label>
                        &nbsp;&nbsp;
                        <asp:button id="backupButton" runat="server" CssClass="sys_button" Font-Size="9pt" Text="备份数据库" onclick="backupButton_Click"></asp:button>
							<asp:button id="restoreButton" runat="server" CssClass="sys_button" Font-Size="9pt" Text="恢复数据库" onclick="restoreButton_Click"></asp:button></TD>
				</TR>
				<TR>
					<TD align="left" colSpan="2"><FONT face="宋体"></FONT></TD>
				</TR>
				<tr><td colSpan="2">
				<asp:datagrid id="grdSQ" runat="server" CssClass="sys_grid" AllowSorting="True" Width="100%" AutoGenerateColumns="False"
							AllowPaging="True">
							<ItemStyle Height="25px"></ItemStyle>
							<HeaderStyle Font-Size="15pt" Font-Bold="True" Height="25px" ForeColor="White" CssClass="sys_grid_head_cell"></HeaderStyle>
							<Columns>
								<asp:BoundColumn HeaderText="序号">
									<ItemStyle HorizontalAlign="Center"></ItemStyle>
									<HeaderStyle HorizontalAlign="Center" Width="10%" CssClass="sys_grid_cell_label"></HeaderStyle>
								</asp:BoundColumn>
								<asp:BoundColumn DataField="Name" HeaderText="备份文件名">
									<HeaderStyle HorizontalAlign="Center" CssClass="sys_grid_cell_label"></HeaderStyle>
								</asp:BoundColumn>
								<asp:BoundColumn DataField="LastWriteTime" HeaderText="最后修改时间" DataFormatString="{0:G}">
									<HeaderStyle HorizontalAlign="Center" CssClass="sys_grid_cell_label"></HeaderStyle>
									<ItemStyle HorizontalAlign="Center"></ItemStyle>
								</asp:BoundColumn>
								<asp:BoundColumn DataField="Length" HeaderText="文件大小" DataFormatString="{0:#,### 字节}">
									<HeaderStyle HorizontalAlign="Center" CssClass="sys_grid_cell_label"></HeaderStyle>
									<ItemStyle HorizontalAlign="Right"></ItemStyle>
								</asp:BoundColumn>
							</Columns>
							<PagerStyle Visible="False"></PagerStyle>
						</asp:datagrid><uc1:pager id="Pager1" runat="server"></uc1:pager>
						</td></tr>
            </TABLE>
			</td>
			</tr>
		</table>
		<br>
            <TABLE  id="Table1" align="center" border=0 cellpadding="0" cellspacing="0"  width="90%" >
				<TR><td>
                    &nbsp;<asp:label id="infoLabel" runat="server" ForeColor="Blue"></asp:label>
                    </td>
                  </tr>
			</table>
		<INPUT id="hd" type="hidden" name="hd" runat="server" style="width: 33px">
		</form>
	</body>
</HTML>
