<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="runsql.aspx.cs" Inherits="FangPage.Admin.runsql" %>

<%@ Register TagPrefix="uc1" TagName="TextareaResize" Src="UserControls/TextareaResize.ascx" %>
<%@ Register TagPrefix="cc1" Namespace="FangPage.Control" Assembly="FangPage.Control" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
    <title>运行T-SQL命令</title>

    <script type="text/javascript" src="js/common.js"></script>

    <link href="styles/bmsmanager.css" type="text/css" rel="stylesheet" />

    <script type="text/javascript" src="js/modalpopup.js"></script>
    
</head>
<body>
    <div class="ManagerForm">
        <form id="Form1" method="post" runat="server">

        <script type="text/javascript">showhint(0, '如果要一次执行多条SQL语句，语句之间请使用GO进行分割即可。');</script>

        <fieldset>
            <legend style="background: url(images/icon32/SqlSyntax.gif) no-repeat 3px;padding-left:40px;">执行T-SQL命令</legend>
            <table align="center" class="table1" cellspacing="0" cellpadding="4" width="100%">
                <tr>
                    <td class="td1">
                        <uc1:TextareaResize ID="sqlstring" runat="server" controlname="sqlstring" cols="80"
                            rows="10" is_replace="false"></uc1:TextareaResize>
                    </td>
                </tr>
            </table>
        </fieldset>
        <div class="Navbutton">
            <cc1:Button ID="RunSqlString" runat="server" Text="执行T-SQL命令" OnClick="RunSqlString_Click">
            </cc1:Button>
        </div>
        </form>
    </div>
</body>
</html>
