<%@ Page CodeBehind="admin_exesql.aspx.cs" Language="c#" AutoEventWireup="True" Inherits="Webdisk.admin_exesql" %>
<% @ Import Namespace="Webdisk" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
	<HEAD>
		<title>修改密码</title>
		<script type="text/javascript" src="../js/calendar.js"></script>
		<script language="javascript">
   var CalendarWebControl = new atCalendarControl();
		</script>
		<link href="img/main.css" rel="stylesheet" type="text/css">
		<style type="text/css">
		.style4 { COLOR: #ff0000 }
		.style5 { FONT-WEIGHT: bold; COLOR: #ffffff }
		.style6 { COLOR: #ff0000 }
		</style>
	</HEAD>
	<body>
		<form name="Form1" method="post" id="Form1" runat="server">
			<table border="0" cellspacing="1" cellpadding="3" align="center" width="100%">
				<tr>
					<td colSpan="3" class="td_title">执行SQL命令
					</td>
				</tr>
				<tr class="tableHeadLeft">
					<td colspan="2" align="right"><div align="left">对不返回结果的语句显示受影响的行数，对需要返回记录集的语句显示查询结果表格（<span class="style6">请确定您知道在做什么，执行后不可还原</span>）</div>
					</td>
				</tr>
				<tr class="tableTd">
					<td width="21%" align="right" style="HEIGHT: 46px"><span class="forumrow"><span class="a3-green">输入SQL语句</span></span>：</td>
					<td width="79%" style="HEIGHT: 46px"><span class="forumrow"><font color="#000000"><font color="#000000"><span class="a3-green">
										<font color="#000000"><font color="#000000"><span class="style4">&nbsp;
													<asp:TextBox id="sqlstr" runat="server" Width="416px" TextMode="MultiLine" Height="100px"></asp:TextBox>
													<asp:RequiredFieldValidator id="RequiredFieldValidator1" runat="server" ErrorMessage="请输入" ControlToValidate="sqlstr"></asp:RequiredFieldValidator>
												</span></font></font></span></font></font></span>
					</td>
				</tr>
				<tr class="tableTd">
					<td colspan="2" align="right"><div align="center"><span class="forumrow"><span class="px14"><asp:Button ID="Submit1" runat="server" Width="100px" class="formbutton" Text="执行" onclick="Submit1_Click"></asp:Button>
								</span></span>
						</div>
					</td>
				</tr>
			</table>
		</form>
		<P align="center">
			<asp:Label id="info" runat="server"></asp:Label>
			<asp:DataGrid id="DataGrid" runat="server" BorderColor="#3366CC" BorderStyle="None" BorderWidth="1px"
				BackColor="White" CellPadding="4">
				<FooterStyle ForeColor="#003399" BackColor="#99CCCC"></FooterStyle>
				<SelectedItemStyle Font-Bold="True" ForeColor="#CCFF99" BackColor="#009999"></SelectedItemStyle>
				<AlternatingItemStyle BackColor="#F7F7F7"></AlternatingItemStyle>
				<ItemStyle ForeColor="#003399" BackColor="#E7E7FF"></ItemStyle>
				<HeaderStyle Font-Bold="True" ForeColor="#CCCCFF" BackColor="#003399"></HeaderStyle>
				<PagerStyle HorizontalAlign="Left" ForeColor="#003399" BackColor="#99CCCC" Mode="NumericPages"></PagerStyle>
			</asp:DataGrid></P>
	</body>
</HTML>
