<%@ Page Language="C#" MasterPageFile="../Admin.Master" AutoEventWireup="true" CodeBehind="DataHelper.aspx.cs"
    Inherits="ETongJin.YM.Web.Admin.DataHelper" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    &nbsp;<table class="tableBorder" border="0" cellpadding="0" cellspacing="1">
        <tr>
            <th colspan="2" class="ym12_bti">
                网站数据维护操作
            </th>
        </tr>
        <tr style="text-align: center;">
            <td class="td2" style="padding-left: 10px;" colspan="2">
                包含对网站数据的清理和更新操作(如非必要，请不要执行下面操作，执行操作前最好对网站数据进行备份)。
            </td>
        </tr>
        <tr>
            <td colspan="2">
                <br />
                <asp:Button ID="btnDelPic" runat="server" OnClick="btnDelPic_Click" Text="删除Upload文件夹中上传的所有无用图片(source和d子文件夹除外)" />
                <br />
                <br />
                请输入要执行的sql语句：<br />
                <br />
                <asp:TextBox ID="txtSql" runat="server" TextMode="MultiLine" Height="99px" Width="560px"></asp:TextBox>
                <br />
                <asp:Button ID="Button1" runat="server" Text="执行" OnClick="Button1_Click" />
                &nbsp;<asp:Button ID="Button2" runat="server" Text="查询" OnClick="Button2_Click" />
                <br />
                <asp:GridView ID="GridView1" runat="server" CellPadding="4" ForeColor="Black" GridLines="Vertical"
                    BackColor="White" BorderColor="#DEDFDE" BorderStyle="None" BorderWidth="1px"
                    EnableViewState="False" Width="575px">
                    <RowStyle BackColor="#F7F7DE" />
                    <FooterStyle BackColor="#CCCC99" />
                    <PagerStyle BackColor="#F7F7DE" ForeColor="Black" HorizontalAlign="Right" />
                    <SelectedRowStyle BackColor="#CE5D5A" Font-Bold="True" ForeColor="White" />
                    <HeaderStyle BackColor="#6B696B" Font-Bold="True" ForeColor="White" />
                    <AlternatingRowStyle BackColor="White" />
                </asp:GridView>
            </td>
        </tr>
    </table>
</asp:Content>
