<%@ page language="C#" autoeventwireup="true" inherits="general_SystemManage_WinRepairData, CrmCommand" %>

<!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>
    <script  src="../../Javascript/Trim.js" type="text/javascript">
    </script>
    <script type="text/javascript">
    function Check()
    {
      var TxtName=document.getElementById("TxtName").value;
      if(!Trim(TxtName))
      {
         alert('数据库路径不能为空!');
         return false;
      }
      else
      {
        return true;
      }
    }
    
    </script>
</head>
<body class="bodycolor" topMargin="5">
    <form id="form1" runat="server">
	<table style="width: 100%">
	<tr>
		
			<td colspan="3"><TABLE class="small" cellSpacing="0" cellPadding="3" width="100%" border="0">
					<TR>
						<TD class="Big"><IMG height="18" src="../images/notify_new.gif" width="18" align="absMiddle"><SPAN class="big3"> 
						压缩数据库</SPAN>
						</TD>
					</TR>
				</TABLE>
</td>
		</tr>
		<tr>
			<td style="width: 224px"></td>
			<td style="width: 314px">压缩数据库:</td><td><asp:Button ID="Button1" OnClientClick="return Check()" runat="server" CssClass=BigButton Text="压缩数据库" OnClick="Button1_Click" /></td></tr>

		<tr>
			<td colspan="3"><TABLE class="small" cellSpacing="0" cellPadding="3" width="100%" border="0">
					<TR>
						<TD class="Big"><IMG height="18" src="../images/notify_new.gif" width="18" align="absMiddle"><SPAN class="big3"> 
						备份数据库</SPAN>
						</TD>
					</TR>
				</TABLE>
</td>
		</tr>
		<tr>
			<td style="width: 224px"></td>
			<td style="width: 314px">备份数据库:</td>
			<td><asp:Button ID="Button2" OnClientClick="return confirm('确定要备份数据库吗?')" runat="server" CssClass=BigButton Text="备份数据库" OnClick="Button2_Click" /></td>
		</tr>
		<tr>
			<td colspan="3"><TABLE class="small" cellSpacing="0" cellPadding="3" width="100%" border="0">
					<TR>
						<TD class="Big"><IMG height="18" src="../images/notify_new.gif" width="18" align="absMiddle"><SPAN class="big3"> 
						还原数据库</SPAN></TD>
					</TR>
				</TABLE>
			</td>
		</tr>
		<tr>
			<td>&nbsp;</td>
			<td style="width: 314px">
			<table style="width: 100%">
				<tr>
					<td style="width: 168px">请选择备份数据库文件:</td>
					<td><asp:DropDownList ID="DropDownList1" runat="server">
                </asp:DropDownList></td>
				</tr>
			</table>
			</td>
			<td>
                <asp:Button ID="Button3" runat="server" CssClass=BigButton Text="还原数据库" OnClientClick="return confirm('确定要还原数据库吗?')" OnClick="Button3_Click" /></td>
		</tr>
	</table>
    </form>
	</body>
</html>
