<%@ Page language="c#" Codebehind="department_edit.aspx.cs" AutoEventWireup="True" Inherits="health.aspx.dangan.department_edit" %>

<HTML>
	<HEAD>
		<title>部门编辑</title>
		<meta content="Microsoft Visual Studio .NET 7.1" name="GENERATOR">
		<meta content="C#" name="CODE_LANGUAGE">
		<meta content="JavaScript" name="vs_defaultClientScript">
		<meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">
		<link href="../../css/style.css" rel="stylesheet" type="text/css" />
		<script language="JavaScript" src="../../js/common.js" type="text/javascript"></script>
	</HEAD>
	<body leftMargin="0" topMargin="0" MS_POSITIONING="GridLayout">
	<br>
		<form id="Form1" method="post" runat="server">
			<TABLE id="Table1" cellSpacing="0" cellPadding="0" width="98%" border="0" align="center">
				<TR>
					<TD align="center">
						<TABLE id="Table2" class="sys_grid" cellSpacing="1" cellPadding="1" width="100%" border="1">
							<TR>
								<TD align="right" colSpan="2"><asp:button id="btnsave" runat="server" CssClass="sys_button" Text="保存" Width="60px" onclick="btnsave_Click"></asp:button>&nbsp;
                                    <INPUT class="sys_button" onclick="javascript:window.close();" type="button" value="返回"
										style="WIDTH: 60px; HEIGHT: 22px"></TD>
							</TR>
							<TR>
								<TD width="40%" align="right">&nbsp;<asp:label id="Label1" runat="server">部门名称</asp:label>
                                    <asp:Label ID="Label3" runat="server" ForeColor="Red" Text="*"></asp:Label>&nbsp;</TD>
								<TD><asp:textbox id="tbDeptName" CssClass="stringedit" Runat="server" Width="90%"></asp:textbox>
									<asp:requiredfieldvalidator id="RequiredFieldValidator1" runat="server" ErrorMessage="(不能为空)" ControlToValidate="tbDeptName"></asp:requiredfieldvalidator></TD>
							</TR>
							<TR>
								<TD align="right">&nbsp;<asp:label id="Label2" runat="server">上级部门名称</asp:label></TD>
								<TD><asp:textbox id="tb_updept" CssClass="notstringedit" Runat="server" Width="85%">aaa</asp:textbox><asp:Button
                                        ID="btn_dept" runat="server" CssClass="sys_button" OnClientClick="selectdept('hd_dept_id','tb_updept')"
                                        Text="..." /><input id="hd_dept_id" runat="server" name="hd_dept_id" style="width: 5px"
                                            type="hidden" /></TD>
							</TR>
						</TABLE>
					</TD>
				</TR>
			</TABLE>
		</form>
		<script language="javascript">
		<%=msg%>
		</script>
	</body>
</HTML>
