<%@ Page Language="C#" AutoEventWireup="true" CodeFile="SqlDAL.aspx.cs" Inherits="Admin_Rights_SqlDAL" %>

<!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 runat="server">
    <title>网站后台数据库操作</title>
        <link rel="stylesheet" href="../skin/style.css" type="text/css" />
</head>
<body>
    <form id="form1" runat="server">
        <div class="itemtitle">
            <h3>
                安全提示：</h3>
        </div>
        <div class="itemtitle_tect">
            <ul>
                <li>为保证数据库的安全，程序后台默认禁止执行SQL语句；</li>
                <li>在使用该功能时需要修改XML/Common.config文件里&lt;safesetting/&gt; 的配置；</li>
                <li>执行该页面的权限必须是创建该网站的管理员；</li>
            </ul>
        </div>
        <span id="message" runat="server" visible="false" style=" color:Red; font-size:12px">对数据库操作成功</span>
        <div>
            <asp:TextBox ID="txtSql" runat="server" Height="150px" TextMode="MultiLine" Width="500px"></asp:TextBox><br />
            &nbsp; &nbsp; &nbsp; &nbsp;
            <asp:Button ID="btnSumit" Text="执行" runat="server" OnClick="btnSumit_Click" />
        </div>
    </form>
</body>
</html>
