<%@ page language="C#" autoeventwireup="true" inherits="Admin_SysSetting_DataBase_Default, YBBQYCMS_deploy" masterpagefile="../../MasterPage/Default.Master" theme="Standard" viewStateEncryptionMode="Never" %>

<asp:Content ID="Content1" ContentPlaceHolderID="PageBody" runat="server">
    <table style="width:100%">
        <tr>
            <td>
                <DataLayerWebControls:HeadMenuWebControls ID="HeadMenuWebControls1" runat="server"
                    HeadTitleTxt="数据库管理" HeadOPTxt="数据库管理" HeadHelpTxt="帮助">
                </DataLayerWebControls:HeadMenuWebControls>
                <DataLayerWebControls:TabOptionWebControls ID="TabOptionWebControls1" runat="server">
                    <DataLayerWebControls:TabOptionItem ID="TabOptionItem1" runat="server" Tab_Name="备份数据库">
                        <div>
            <center>
                <table class="table"  width="500px" border="0" cellspacing="1" cellpadding="2">
                <tr align="center">
                    <th class="bg_tr" align="left" colspan="2" height="25">

                </th>
                </tr>
                    <tr>
                        <td class="td_bg" align="left" >&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 上次备份日期:<label id="lblDate" runat="server"></label></td>
                    </tr>
                    <tr>
                        <td class="td_bg">
                            <asp:Button ID="Button1" runat="server" Text="数据库备份" onclick="Button1_Click"  OnClientClick="javascript:return confirm('确认备份数据库吗？');"/>
                            <label id="lblmessage" runat="server" style="color:Red"></label>
                            </td>
                    </tr>
                </table>
            </center> 
    </div>
                    </DataLayerWebControls:TabOptionItem>
                    <DataLayerWebControls:TabOptionItem ID="TabOptionItem2" runat="server" Tab_Name="还原数据库">
                    <center>
                        <table style="width: 500px;" class="table"  border="0" cellspacing="1" cellpadding="2">
                    <tr>
                        <td class="td_bg"><asp:Button ID="Button2" runat="server" Text="数据库还原" onclick="Button2_Click"    OnClientClick="javascript:return confirm('确认还原数据库吗？');"/>
                        <label id="lblmes" runat="server" style="color:Red"></label>
                        </td>
                    </tr>
                </table>
                </center>
                    </DataLayerWebControls:TabOptionItem>
                </DataLayerWebControls:TabOptionWebControls>
            </td>
        </tr>
    </table>
</asp:Content>