⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 backupandrestore.aspx

📁 本系统内置的测评模块可以根据学生的学习成绩以及往日的综合表现对学生的综合素质分进行自动评分操作
💻 ASPX
字号:
<%@ Page AutoEventWireup="false" Inherits="px.backupAndRestore" %>

<!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>BackupAndRestore</title>
    <link href="../App_Themes/default/admincp.css" rel="stylesheet" type="text/css" />
    <script src="../js/common.js" type="text/javascript"></script>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <br />
        <table border="0" cellpadding="0" cellspacing="0" class="guide" width="100%">
            <tbody>
                <tr>
                    <td>
                        <span style="color: #0000ff; text-decoration: underline">系统首页</span> &gt;&gt; 数据库备份与恢复</td>
                </tr>
            </tbody>
        </table>
    
    </div>
        <br />
        <table border="0" cellpadding="0" cellspacing="0" class="guide" width="100%">
            <tbody>
                <tr>
                    <td>
                        <br />
                        系统数据库备份说明:<br />
                        <br />
                        &nbsp; &nbsp; &nbsp; &nbsp; 当《品行诚信电子档案与综合素质测评系统》的web应用程序和SQL Server数据库服务在同一台服务器上运行时,您的数据库备份将存在于<strong>
                            <span style="color: #ffffff; background-color: #ff6666">/database/backup/</span></strong>文件夹下,并且备份文件扩展名为<span
                                style="color: #ffffff; background-color: #ff9966"><strong>dat</strong></span>。<br />
                        &nbsp; &nbsp; &nbsp; &nbsp; 若《品行诚信电子档案与综合素质测评系统》的web应用程序和SQL Server数据库服务分别处于不同的服务器上时,您的数据库备份文件将存于SQL
                        Server安装目录的数据库备份文件夹下。<br />
                        &nbsp; &nbsp; &nbsp; &nbsp; 由于还原数据库存在一定的风险,所以本系统不提供web在线还原功能,如需还原数据库,请在SQL Server服务器上操作管理工具还原。<br />
                    </td>
                </tr>
            </tbody>
        </table>
        <br />
        <table border="0" cellpadding="0" cellspacing="0" class="tableborder" width="100%">
            <tr class="header">
                <td colspan="3">
                    备份数据库</td>
            </tr>
            <tr>
                <td style="width: 120px; text-align: right">
                    数据库备份的名称:</td>
                <td colspan="2">
                    <asp:TextBox ID="TextBox1" runat="server"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="TextBox1"
                        ErrorMessage="*"></asp:RequiredFieldValidator>
                    <asp:Button ID="Button1" runat="server" Text="确定" /></td>
            </tr>
        </table>
        <br />
        <asp:GridView ID="GridView1" runat="server" AllowPaging="True" AllowSorting="True"
            AutoGenerateColumns="False" BackImageUrl="~/images/bg_list.gif" CssClass="tableborder"
            DataKeyNames="id" GridLines="None" PageSize="20" Width="100%">
            <FooterStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
            <Columns>
                <asp:BoundField DataField="id" HeaderText="数据库编号" ReadOnly="True">
                    <ControlStyle Width="10%" />
                    <HeaderStyle Width="10%" />
                </asp:BoundField>
                <asp:BoundField DataField="sm" HeaderText="备份说明" />
                <asp:BoundField DataField="date" HeaderText="备份时间" ReadOnly="True" HtmlEncode="False" />
                <asp:BoundField DataField="size" HeaderText="备份大小" />
                <asp:TemplateField HeaderText="操作" ShowHeader="False">
                    <ItemTemplate>
                       <%#dl(Container.DataItem("size"), Container.DataItem("filename"))%> 、<asp:LinkButton ID="LinkButton1" runat="server" CausesValidation="False" CommandName="Delete" Text="删除" OnClientClick="return msgbox('您确认这样操作吗?删除后不可恢复!')"></asp:LinkButton>
                    </ItemTemplate>
                </asp:TemplateField>
            </Columns>
            <RowStyle BackColor="#EFF3FB" CssClass="altbg2" />
            <EmptyDataTemplate>
                暂时没有数据,请先新建。
            </EmptyDataTemplate>
            <EditRowStyle BackColor="#2461BF" />
            <SelectedRowStyle BackColor="#D1DDF1" Font-Bold="True" ForeColor="#333333" />
            <PagerStyle BackColor="#2461BF" ForeColor="Black" HorizontalAlign="Center" />
            <HeaderStyle CssClass="header" ForeColor="White" Height="30px" />
            <AlternatingRowStyle BackColor="White" />
        </asp:GridView>
    </form>
</body>
</html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -