<%@ Page Language="C#" AutoEventWireup="true" Inherits="EoyooCMS.ManageCode.Data_SqlExecute" %>

<!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>Sql执行</title>
    <meta name="Author" content="EoyooCMS" />
    <meta name="Copyright" content="eoyoo.com" />
    <script type="text/javascript" src="Script/Jquery.js"></script>
    <script type="text/javascript" src="Script/Common.js"></script>
    <link href="Style/Iframe.css" rel="stylesheet" type="text/css" />
    <script src="Script/Eoyoo.FormControl.js" type="text/javascript"></script>
    <script src="Script/Data_SqlExecute.js" type="text/javascript"></script>
</head>
<body>
    <form id="FormControl" action="<%=getFormUrl %>" method="post" enctype="multipart/form-data">
    <div class="wrapper-div">
	    <!-- 添加栏目 -->
    	    <div class="title1">
        	    <div class="right">
            	    <span class="title-ico f_right titico3 X"> ctrl + s 快捷保存</span>
            	    <span class="title-ico titico5 F B">Sql语句执行</span>
                </div>
            </div>
        
            <!-- 表单 -->
            <div class="tbox_form">
                <p>
                    <label class="name">Sql语句:</label>
                    <textarea name="sql_text" id="sql_text" class="input400 isNull" tabindex="1" cols="" rows=""><%=_sql%></textarea>
                    <span class="point ico-remind V">执行语句</span>
                </p>
                <hr />
                <label class="name">&nbsp;</label>
                <input type="submit" class="bule-btn W" value="开始执行" />
                <span></span>
            </div>
            <!-- end 表单 -->

            <%if (_retValue!=0) %>
            <%{ %>
                    <div class="clear-8"></div>
                    <!-- 通用table -->
                    <table class="table-1">
                        <tbody>
                            <tr>
                                <td class="text_left Q B">执行成功！影响行数：<%=_retValue.ToString()%></td>
                            </tr>
                        </tbody>
                    </table>
                    <!-- end 通用table -->
                    <div class="clear-8"></div>

            <%} %>

        <!-- end 添加栏目 -->
    </div>

    </form>
</body>
</html>
