<%@ Page Language="C#" MasterPageFile="../Admin.Master" AutoEventWireup="true" CodeBehind="DataHelper.aspx.cs"
    Inherits="ETongJin.Search.Web.Admin.DataHelper" ValidateRequest="false" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server"></asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
  <table class="tableBorder" border="0" cellpadding="3" cellspacing="1">
    <tr>
      <th colspan="2"> 数据整理 </th>
    </tr>
    <tr>
      <td colspan="2" class="td1"> 如果您不太明白每个按钮的作用，请不要随便点击他们，以免导致程序发生异常！ </td>
    </tr>
    <tr>
      <td width="150" class="td2"><asp:Button ID="Button2" runat="server" OnClick="Button2_Click" Text="压缩数据库" CssClass="btn02" onmouseover="this.className='btn04'" onmouseout="this.className='btn02'" /></td>
      <td class="td1"> 如果数据库较大，请尽量选择访问量小的时候执行该操作 </td>
    </tr>
    <tr>
      <td class="td2"><asp:Button ID="Button1" runat="server" OnClientClick="return confirm('将清空所有的搜索日志，清空后不可恢复，是否继续?');" Text="清空搜索日志" onclick="Button1_Click" CssClass="btn02" onmouseover="this.className='btn04'" onmouseout="this.className='btn02'" />
      </td>
      <td class="td1"> 如果数据库较大，请尽量选择访问量小的时候执行该操作 </td>
    </tr>
    <tr>
      <td class="td2"><asp:Button ID="Button3" runat="server" Text="重新启动程序" OnClick="Button3_Click" CssClass="btn02" onmouseover="this.className='btn04'" onmouseout="this.className='btn02'" /></td>
      <td class="td1"> 当索引文件被意外锁住时，您可以通过重新启动程序来解决问题 </td>
    </tr>
  </table>
</asp:Content>
