<%@ Register TagPrefix="uc1" TagName="Pager" Src="../../modules/Pager.ascx" %>
<%@ Page language="c#" Codebehind="Users.aspx.cs" AutoEventWireup="True" Inherits="health.aspx.sys.Users" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
	<HEAD>
		<title>Users</title>
		<meta name="GENERATOR" Content="Microsoft Visual Studio .NET 7.1">
		<meta name="CODE_LANGUAGE" Content="C#">
		<meta name="vs_defaultClientScript" content="JavaScript">
		<meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5">
		<link href="../../css/style.css" rel="stylesheet" type="text/css" />
	</HEAD>
	<body MS_POSITIONING="GridLayout">
		<form id="Form1" method="post" runat="server">
			<TABLE id="Table1" cellPadding="0" width="100%" border="0">
				<TR>
					<TD width="3%" height="20"><FONT face="宋体"></FONT></TD>
					<TD height="20"></TD>
					<TD width="3%" height="20"></TD>
				</TR>
				<TR>
					<TD width="3%"></TD>
					<TD>
						<table class="sys_grid" id="tab" cellSpacing="0" cellPadding="0" width="100%" border="0">
							<TR>
								<TD vAlign="top" align="center">
									<asp:datagrid id="dgrdUsers" runat="server" Width="100%" AllowSorting="True" AutoGenerateColumns="False"
										AllowPaging="True">
										<ItemStyle Height="25px"></ItemStyle>
										<HeaderStyle Font-Bold="True" HorizontalAlign="Center" ForeColor="Black" CssClass="sys_grid_head_cell"></HeaderStyle>
										<Columns>
											<asp:TemplateColumn SortExpression="USER_ID" HeaderText="用户ID">
												<HeaderStyle CssClass="sys_grid_cell_label" />
												<ItemTemplate>
													<INPUT id=Hidden1 type=hidden value='<%# DataBinder.Eval(Container.DataItem, "ID") %>' name=Hidden1 runat="server">
													<%# DataBinder.Eval(Container.DataItem, "USER_ID") %>
												</ItemTemplate>
											</asp:TemplateColumn>
											<asp:BoundColumn DataField="USER_NAME" SortExpression="USER_NAME" HeaderText="用户姓名">
												<HeaderStyle CssClass="sys_grid_cell_label" />
											</asp:BoundColumn>
										</Columns>
										<PagerStyle Visible="False" HorizontalAlign="Left" ForeColor="#000066" BackColor="White" Mode="NumericPages"></PagerStyle>
									</asp:datagrid>
									<uc1:pager id="Pager1" runat="server"></uc1:pager><INPUT id="hdnItemIndex" style="WIDTH: 0px; HEIGHT: 0px" type="hidden" size="1" name="hdnItemIndex"
										runat="server"><INPUT id="hdnEditMode" style="WIDTH: 0px; HEIGHT: 0px" type="hidden" size="1" name="hdnEditMode"
										runat="server">
								</TD>
							</TR>
						</table>
					</TD>
					<TD width="3%"><FONT face="宋体"></FONT></TD>
				</TR>
				<TR>
					<TD width="3%"><FONT face="宋体"></FONT></TD>
					<TD></TD>
					<TD width="3%"><FONT face="宋体"></FONT></TD>
				</TR>
			</TABLE>
		</form>
		<script language="javascript">
		function OnTRClick(TableName,HdnKey, HdnMode, TargetWindow, Url)
		{ 
			var mode = document.getElementById(HdnMode);
			if ((mode != null) && (mode.value != ""))
				return;
			TB = document.getElementById(TableName);
			for(var i = 1; i < TB.rows.length; i++)
			{
				TB.rows[i].style.backgroundColor="";  
			}
			event.srcElement.parentElement.style.backgroundColor="#FFFFdd";
			document.getElementById(HdnKey).value = event.srcElement.parentElement.cells[0].children[0].value;
			if (TargetWindow != null)
			{
				TargetWindow.location = Url;
			}
		   
		}    
	
		</script>
	</body>
</HTML>
