<%@ Page Language="c#" CodeBehind="SqlSearch.aspx.cs" AutoEventWireup="True" Inherits="SWTraining.Search.SqlSearch"
    Title="行政管理-SQL语句查询" %>

<%@ Import Namespace="SWTraining" %>
<%@ Register src="../UserCol/CodeBox.ascx" tagname="CodeBox" tagprefix="uc1" %>
<!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 id="Head1" runat="server">
<link id="linkStyle" runat="server" href="../Themes/Blue/css.css" rel="stylesheet" type="text/css" />
</head>
<body>
    <form id="Form1" method="post" runat="server">
    <div id="sw_content">
        <div class="divpanel">
            <table cellspacing="0" cellpadding="0" align="center" border="0" style="width:65%">
                <tr>
                    <td align="left">
                        <uc1:CodeBox ID="tbxSql" runat="server" Width="100%" Height="220px" />
                    </td>
                </tr>
                <tr>
                    <td align="center" style="height: 24px">
                        <asp:CheckBox ID="cbxExcel" runat="server" Text="导出"></asp:CheckBox>
                        <asp:Button ID="btnSelect" runat="server" Text="查询" OnClick="btnSelect_Click">
                        </asp:Button>
                &nbsp;<asp:ImageButton ID="ibnSMS" runat="server" ImageUrl='<%# accTheme("tools/sms.gif") %>'
                        onclick="ibnSMS_Click" style="height: 14px" Height="16px" />
                &nbsp;<asp:ImageButton ID="ibnHighSMS" runat="server" ImageUrl='<%# accTheme("tools/highsms.gif") %>' 
                        onclick="ibnHighSMS_Click" />
                    </td>
                </tr>
            </table>
        </div>
        <div class="divpanel">
            <asp:GridView ID="GridView1" runat="server" AllowSorting="True" CssClass="gridview"
                OnSorting="GridView1_Sorting">
            </asp:GridView>
        </div>
        <div class="divpanel">
            <asp:Label ID="Msg" runat="server" ForeColor="Red" EnableViewState="False"></asp:Label>
        </div>
    </div>
    </form>
</body>
</html>
