<%@ Page language="c#" Codebehind="RolePower.aspx.cs" AutoEventWireup="false" validateRequest="false" Inherits="TourOnline.BgManage.Sys.RolePower" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
	<HEAD>
		<title>zd_hy</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">
		<style type="text/css">A { TEXT-DECORATION: none }
		</style>
		<link href='../Admin_Style.css' rel='stylesheet' type='text/css'>
	</HEAD>
	<body>
		<form id="Form1" method="post" runat="server">
			<TABLE id="Table1" cellSpacing="1" cellPadding="1" width="100%" border="0">
				<TR class='topbg'>
					<TD align="center" height="22"><FONT style="FONT-WEIGHT: bold" face="宋体">角色与权限管理</FONT>
					</TD>
				</TR>
				<TR>
					<TD class='tdbg' height="1"><hr size="1" width="100%" color="#0650d2">
					</TD>
				</TR>
				<tr>
					<td>
						<TABLE class="border" cellSpacing="1" cellPadding="0" width="100%" align="center" border="0">
							<TR bgColor="#eeeeee" height="27">
								<TD align="center" width="10%"><strong>添加角色：</strong></TD>
								<TD width="90%" align="left"><FONT face="宋体">&nbsp; 角色名称：
										<asp:TextBox id="txtReleName" runat="server" MaxLength="25" Width="320px"></asp:TextBox>&nbsp;&nbsp;
										<asp:Button id="btnSubmit" runat="server" Text=" 添 加 " CssClass="button"></asp:Button></FONT></TD>
							</TR>
						</TABLE>
					</td>
				</tr>
				<TR>
					<TD colspan="2" align="left">
						<asp:datalist id="DataList1" runat="server" DataKeyField="roleId" ShowFooter="False" Width="100%"
							cellspacing="0" CellPadding="0" BorderWidth="0">
							<HeaderTemplate>
								<table width='100%' border='0' align='center' cellpadding='0' cellspacing='1' class="table1">
									<tr height='22'>
										<td width='10%' align='center' class='title'><strong>ID</strong></td>
										<td align='center' width='40%' class='title'><strong>角色名称</strong></td>
										<td width='50%' align='center' class='title'><strong>操作选项</strong></td>
									</tr>
								</table>
							</HeaderTemplate>
							<ItemTemplate>
								<TABLE cellSpacing="1" cellPadding="0" width="100%" align="center" border="0">
									<TR class="tdbg" onmouseover="this.className='tdbgmouseover'" onmouseout="this.className='tdbg'"
										height="30">
										<TD align="center" width="10%"><%# Container.ItemIndex+1 %></TD>
										<TD align="center" width="40%">
											<asp:HyperLink id=Hyperlink1 runat="server" Text='<%# DataBinder.Eval(Container.DataItem, "roleName") %>'>
											</asp:HyperLink></TD>
										<TD align="center" width="50%">
											<asp:LinkButton id="LinkButton1" runat="server" CommandName="edit">编辑</asp:LinkButton>&nbsp;
											<asp:TextBox id=txtUserId runat="server" Width="0px" Text='<%# DataBinder.Eval(Container, "DataItem.UserId") %>' Height="0px">
											</asp:TextBox>&nbsp;
											<asp:LinkButton id="LinkButton2" runat="server" CommandName="del">删除</asp:LinkButton>&nbsp;
											<asp:HyperLink id="HyperLink2" runat="server">设置权限</asp:HyperLink></TD>
									</TR>
								</TABLE>
							</ItemTemplate>
							<EditItemTemplate>
								<TABLE cellSpacing="1" cellPadding="0" width="100%" align="center" border="0">
									<TR class="tdbg" onmouseover="this.className='tdbgmouseover'" onmouseout="this.className='tdbg'"
										height="30">
										<TD align="center" width="10%"><%# Container.ItemIndex+1 %></TD>
										<TD align="center" width="40%">
											<asp:TextBox id=TextBox1 runat="server" Width="114px" MaxLength="25" Text='<%# DataBinder.Eval(Container, "DataItem.roleName") %>'>
											</asp:TextBox></TD>
										<TD align="center" width="50%">
											<asp:LinkButton id="Linkbutton8" runat="server" CommandName="update">修改</asp:LinkButton>&nbsp;&nbsp;
											<asp:LinkButton id="Linkbutton9" runat="server" CommandName="cancel">取消</asp:LinkButton>&nbsp;&nbsp;
											<asp:LinkButton id="Linkbutton10" runat="server" CommandName="del">删除</asp:LinkButton>&nbsp;&nbsp;
											<asp:HyperLink id="HyperLink4" runat="server">设置权限</asp:HyperLink>&nbsp;</TD>
										&nbsp;&nbsp;
									</TR>
								</TABLE>
							</EditItemTemplate>
						</asp:datalist></TD>
				</TR>
				<TR>
					<TD class='tdbg' height="1"><hr size="1" width="100%" color="#0650d2">
					</TD>
				</TR>
			</TABLE>
		</form>
	</body>
</HTML>
