日期:2014-05-17 浏览次数:20825 次
<form id="form1" runat="server">
<div>
<asp:Repeater ID="rptList" runat="server">
<HeaderTemplate>
<table width="98%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="31" background="../images/d2.jpg"><table width="100%" border="0" cellpadding="5" cellspacing="0">
<tr>
<td width="5%"><div align="center"><STRONG>序号</STRONG></div></td>
<td width="18%"><div align="center"><STRONG>权限</STRONG></div></td>
<td width="41%"><div align="center"><STRONG>用户名</STRONG></div></td>
<td width="38%"><div align="center"><STRONG>操作</STRONG></div></td>
</tr>
</table></td>
</tr>
</HeaderTemplate>
<ItemTemplate>
<tr>
<td>
<table width="100%" border="0" cellpadding="0" cellspacing="0" background="images/x1.jpg">
<tr onmouseover="this.bgColor='#D6DD2F'" onmouseout="this.bgColor='#FFFFFF'">
<!--
<tr bgcolor="#F3F7FA" onmouseover="this.bgColor='#D6DD2F'" onmouseout="this.bgColor='#F3F7FA'">
-->
<td><table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="5%" height="38" class="p12d2"><asp:Label ID="lb_id" runat="server" Text='<%# Eval("Id")%>' Visible="False"></asp:Label></td>
<td width="18%"><%# Eval("UserType").ToString().Trim() == "1" ? "<span>超级管理员</span>" : "<span>普通管理员</span>"%>
</td>
<td width="41%"><%# Eval("UserName")%></td>
<td width="38%"><table width="70%" border="0" align="right" cellpadding="0" cellspacing="0">
<tr>
<td width="10%"><img src="../images/g2.jpg" width="14" height="16"></td>
<td width="40%"><span><a href="user_updateform.aspx?id=<%# Eval("Id") %>">修改</a></span></td>
<td width="10%"><img src="../images/g3.jpg" width="13" height="13"></td>
<td width="40%"><span><a href="user_updateform.aspx?id=<%# Eval("Id") %>">删除</a></span></td>
</tr>
</table></td>
</tr>
<tr bgcolor=&quo