<%@ page language="C#" autoeventwireup="true" inherits="admin_selectsql, App_Web_6wlyxa5y" %>
<!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>
<title>通用商城系统V3.0(通用网店系统),PoweredBy 蓝头网络(LANT)</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link href="images/dlg.css" rel="stylesheet" type="text/css">
<script type="text/javascript" src="./iefirefox.js"></script>
<script type="text/javascript">
    function check(e) {
        if ($("selectsql") == "") {
            alert("必须填写查询的sql语句！"); if (getOs() == "MSIE") { e.returnValue = false; } else { e.preventDefault(); }
        }
}
</script>
</head>
<body>
    <form id="form1" runat="server">
    <div class="bodydiv"><asp:Literal ID="LiteralHelpView" runat="server"></asp:Literal>
<table width="96%" border="0" align="center" cellspacing="1" cellpadding="2">
  <tr> 
  <td>&nbsp;</td>
    <td height="30">数据库查询&nbsp;<font color="#ff0000">必须select开头</font></td>
  </tr>
    <tr> 
      <td><div align="center">
          查询语句：</div></td>
      <td><asp:TextBox ID="selectsql" runat="server" MaxLength="250" Text="" Width="700px"></asp:TextBox></td>
    </tr>
<tr> 
      <td>&nbsp;</td>
    <td height="30">&nbsp;<asp:Button ID="Button1" runat="server" OnClientClick="check(event);" Text="提交" OnClick="Button1_Click" /></td>
  </tr>
<tr> 
      <td><div align="center">查询结果：</div></td>
    <td height="30">&nbsp;</td>
  </tr>
<tr> 
      <td colspan="2">
          <asp:DataGrid ID="DataGrid1" runat="server" HorizontalAlign="left" Width="100%">
              <ItemStyle BackColor="#ffffff" HorizontalAlign="left" Height="30px" />
              <HeaderStyle BackColor="#F6F6F6" HorizontalAlign="Center" VerticalAlign="Middle" Height="30px" />
          </asp:DataGrid>
    </td>
  </tr>
</table>
    </div>
    <div class="cAuthour"><asp:Literal ID="Authour" runat="server"></asp:Literal></div>
    </form>
</body>
</html>