<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="database.aspx.cs" Inherits="HeyuanHouse.Web.backend.database" %>

<!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>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>河房网网站管理系统</title>
<link href="images/sdcms.css" rel="stylesheet" type="text/css" />
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
<script language="javascript" src="images/sdcms.js" type="text/javascript"></script>
</head>
<body>
<form id="Form1" runat="server">
<div class="sdcms_notice"><span>管理操作：</span></div>
<br />
<ul id="sdcms_sub_title">
	<li class="sub"><a href="#">数据库管理(备份，恢复)</a></li>
</ul>
<div id="sdcms_right_b">
  <table width="98%" border="0" align="center" cellpadding="3" cellspacing="1">
    <tr>
      <td colspan="2"><b>通过DMO对象备份</b></td>
    </tr>
    <tr>
      <td width="12%" align="center" class="tdbg">服务器：</td>
      <td class="tdbg"><asp:TextBox runat="server" ID="txtservername" Width="350px" CssClass="input" /></td>
    </tr>
    <tr class="tdbg">
      <td align="center">登陆帐号：      </td>
      <td><asp:TextBox runat="server" ID="txtuserid" Width="350px" CssClass="input" /></td>
    </tr>
    <tr class="tdbg">
      <td align="center">登陆密码：      </td>
      <td><asp:TextBox runat="server" ID="txtpassword" Width="350px" CssClass="input" /></td>
    </tr>
	<tr class="tdbg">
      <td align="center">数据库名称：      </td>
      <td><asp:TextBox runat="server" ID="txtdbname" Width="350px" CssClass="input" /></td>
    </tr>
    <tr class="tdbg">
	  <td>&nbsp;</td>
      <td><asp:Button runat="server" ID="btnBackup" CssClass="bnt" Text="备份(DMO)" 
              onclick="btnBackup_Click" /> </td>
    </tr>
    <tr>
      <td colspan="2"><b>通过BackUp命令备份(只需填写上面数据库名称即可)</b></td>
    </tr>
    <tr>
      <td>&nbsp;</td>
      <td><asp:Button runat="server" ID="btnBackupWithCmd" CssClass="bnt" Text="备份(命令)" 
              onclick="btnBackupWithCmd_Click" /> </td>
    </tr>
  </table>
  
</div>
</form>
</body>
</html>
