<%@Page Language="C#" Inherits="IWMS.Admin.Backup" MasterPageFile="admin.master"%>
<asp:Content ContentPlaceHolderId="cphMain" runat="server">

	<form id="MyForm" runat="server">
	
	<div class="mframe">
	<div class="tl"></div>
	<div class="rt"></div>
	<div class="tm">
		<span class="tt">系统备份</span>
	</div>
	<div class="wrapper">
	<div class="ml"></div>
	<div class="mr"></div>
	<div class="mm">
		<asp:Label id="myLabel" class="msgBar" EnableViewState="false" runat="server"/>
		<table cellpadding="0" cellspacing="0" width="100%">
		<asp:PlaceHolder id="mdbShow" runat="server">
		  <tr align="center">
		   <td class="tdbg-dark" height="25"><strong>数据库备份</strong></td>
		  </tr>
		  <tr> 
		   <td align="center" height="100" class="tdbg">
			备份数据库名： 
			<asp:TextBox Columns="25" MaxLength="25" id="BackName" Text="" runat="server"/>
			<asp:RequiredFieldValidator id="RequiredFieldValidator"
				ControlToValidate="BackName"
				ErrorMessage="*"
				Display="Dynamic"
				runat="server"/>
			<asp:RegularExpressionValidator id="RegularExpressionValidator"
				runat="server"
				ControlToValidate="BackName"
				ValidationExpression="[a-zA-Z0-9\\/.:_]+"
				ErrorMessage="*"
				Display="Dynamic" /> <br/><br/>
		
		   <asp:Button id="Submit" text="备份" onclick="Submit_OnClick" runat="server"/>
		   <br/><br/>
		   （请使用cs或vb后缀，以免数据库被下载）
		   </td>
		  </tr>
		</asp:PlaceHolder>
		  <tr align="center">
		   <td class="tdbg-dark" height="25"><strong>上传文件备份</strong></td>
		  </tr>
		  <tr> 
		   <td align="center" class="tdbg" height="100">
			备份到目录： 
			<asp:TextBox Columns="25" MaxLength="25" id="BackUploadPath" Text="D:\backup" runat="server"/>
			<asp:RequiredFieldValidator
				ControlToValidate="BackUploadPath"
				ErrorMessage="*"
				Display="Dynamic"
				runat="server"/>
			<asp:RegularExpressionValidator
				runat="server"
				ControlToValidate="BackUploadPath"
				ValidationExpression="[a-zA-Z0-9\\/.:]+"
				ErrorMessage="*"
				Display="Dynamic" /> <br/><br/>
		   <asp:Button id="Submit2" text="备份" onclick="Submit2_OnClick" runat="server"/>
		   <br/>
		   </td>
		  </tr>
		 </table>	
	</div>
	</div>
	<div class="bl"></div>
	<div class="br"></div>
	<div class="bm"></div>
	</div>
	
	</form>

</asp:Content>