📄 databackup.aspx
字号:
<%@ page language="C#" autoeventwireup="true" inherits="Admin_DataBackup, TL" %>
<%@ Register Src="AdminLogin.ascx" TagName="AdminLogin" TagPrefix="uc1" %>
<%@ Register Src="Admintop.ascx" TagName="Admintop" TagPrefix="uc2" %>
<%@ Register Src="Adminfoot.ascx" TagName="Adminfoot" TagPrefix="uc3" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<html>
<head runat="server">
<title>无标题页</title>
<link href="Images/admin_css.css" rel="stylesheet" type="text/css" />
</head>
<body style="text-align: center">
<form id="form1" runat="server">
<div>
<uc1:AdminLogin ID="AdminLogin1" runat="server" />
<uc2:Admintop ID="Admintop1" runat="server" />
<table cellpadding="1" cellspacing="1" align="center" class="tableBorder" style="width:80%">
<tr>
<td height="25" align="center" bgcolor="#f58200" colspan="2" background="Images/bg_td.gif"><font color="#FFFFFF"><strong>备份数据库</strong></font></td>
</tr>
<tr>
<td class="forumRowHighlight" style="height: 30px;">
原数据库名称:</td>
<td class="forumRowHighlight" style="width:70%">
<asp:TextBox ID="TextBox2" runat="server" Height="19px" Text="tianlong.ascx" Width="357px"></asp:TextBox></td>
</tr>
<tr>
<td class="forumRowHighlight" style="height: 30px;">
数据库备份名称:</td>
<td class="forumRowHighlight" style="width:70%">
<asp:TextBox ID="TextBox1" runat="server" Height="19px" Width="357px"></asp:TextBox></td>
</tr>
<tr>
<td class="forumRowHighlight" colspan="2" style="height: 30px;">
备份文件默认命名原则: <span style="color: #ff0000">TianLong + 当前备份时间 + 默认扩展名(tlbak)</span><br />
若备份目录存在同名文件,会将其覆盖;若不存在,将自动创建。<br />
建议每天都使用此功能来备份您的法规数据,以保证您的数据安全!</td>
</tr>
<tr><td colspan="2" class="forumRowHighlight" align="center" style="height: 31px"><asp:Button ID="Button1" runat="server" Height="25px" Text="确认备份" Width="82px" OnClick="Button1_Click" /></td></tr>
</table>
<br />
<table cellpadding="1" cellspacing="1" align="center" class="tableBorder" style="width:80%">
<tr>
<td height="25" align="center" bgcolor="#f58200" colspan="2" background="Images/bg_td.gif"><font color="#FFFFFF"><strong>还原数据库</strong></font></td>
</tr>
<tr>
<td class="forumRowHighlight" style="height: 30px;">
备份数据库文件名:</td>
<td class="forumRowHighlight" style="width:70%">
<asp:TextBox ID="TextBox3" runat="server" Height="19px" Width="357px"></asp:TextBox></td>
</tr>
<tr>
<td class="forumRowHighlight" style="height: 30px;">
还原为文件名:</td>
<td class="forumRowHighlight" style="width:70%">
<asp:TextBox ID="TextBox4" runat="server" Height="19px" Text="tianlong.ascx" Width="357px"></asp:TextBox></td>
</tr>
<tr><td colspan="2" class="forumRowHighlight" align="center" style="height: 31px"><asp:Button ID="Button3" runat="server" Height="25px" Text="确认还原" Width="82px" OnClick="Button3_Click" /></td></tr>
</table>
<br />
<table cellpadding="1" cellspacing="1" align="center" class="tableBorder" style="width:80%">
<tr>
<td height="25" align="center" colspan="2" bgcolor="#f58200" background="Images/bg_td.gif"><font color="#FFFFFF"><strong>压缩数据库</strong></font></td>
</tr>
<tr>
<td class="forumRowHighlight" colspan="2" style="height: 30px;">
数据库在使用一段时间后,时常会出现因数据删除而造成数据库中空闲空间太多的情况,这时就需要减少分配给数据库文件的磁盘空间,以免浪费磁盘空间。使用此功能压缩数据库,能够确保数据库的运行性能。<br />
<span style="color: #ff0000">压缩数据库时,所有对数据库数据的增删改查操作必须停止,因此建议使关闭网站,等压缩完成后再开放网站。</span></td>
</tr>
<tr>
<td class="forumRowHighlight" style="height: 30px;">
数据库文件名:</td>
<td class="forumRowHighlight" style="width:70%">
<asp:TextBox ID="TextBox5" runat="server" Height="19px" Text="tianlong.ascx" Width="357px"></asp:TextBox></td>
</tr>
<tr>
<td class="forumRowHighlight" colspan="2" style="height: 30px;" align="center"><asp:Button ID="Button2" runat="server" Height="25px" Text="确认压缩" Width="82px" OnClick="Button2_Click" /></td>
</tr>
</table>
<uc3:Adminfoot ID="Adminfoot1" runat="server" />
</div>
</form>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -