Web/Admin/System/UserList.aspx

(开头部分) 3KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

<%@ Page Language="C#" AutoEventWireup="true" CodeFile="UserList.aspx.cs" Inherits="Admin_System_UserList" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>人员管理</title>
    <link href="../../StyleSheet.css" rel="stylesheet" type="text/css" />
</head>
<body>
    <form id="form1" runat="server">
        <div class="listAddLink">
            <a href="AddUser.aspx">添加人员</a></div>
        <div class="listTop">
            <div style="width:200px; text-align:left; float:left;" ><span class="title">人员管理</span></div>
            <div style="text-align:right; width:580px;">
                            <asp:Button ID="btnSearch" runat="server" CssClass="txt" OnClick="btnSearch_Click"
                    Text="查 询" Width="80px"  Visible="false"/>
                <asp:DropDownList ID="drlDeptList" runat="server" DataSourceID="objdsDeptList" DataTextField="DeptName"
                    DataValueField="DeptID" Width="121px" Visible="false">
                </asp:DropDownList>
            </div>
        </div>

        <asp:Repeater ID="rpUserList" runat="server">
            <HeaderTemplate>
             <table border="0" cellpadding="0" cellspacing="0" class="tableList" width="800">
            <tr class="header">
                <td style="width: 100px">
                    账号</td>
                <td style="width: 100px">
                    姓名</td>
               
                <td style="width: 120px">
                    权 限</td>
                <td style="width: 80px">
                    是否锁定</td>
                <td>
                    操 作</td>
            </tr>
            </HeaderTemplate>
            <ItemTemplate>
            <tr class="body">
                <td style="width: 100px; height: 18px">
                    <%#Eval("UserID") %></td>
                <td style="width: 100px; height: 18px">
                     <%#Eval("Name") %></td>
               
                <td style="width: 110px; height: 18px">
                     <%#Eval("right") %></td>
                <td style="width: 80px; height: 18px">
                   <%# (bool)Eval("Locked")==false?"否":" <span style='color:Red'>是</span>" %>
                    </td>
                <td style="height: 18px">
                   
                    <a href='resetPwd.aspx?userID=<%#Eval("UserID") %>' title="使用默认密码(123456)">重置密码</a> | 
                    <a href='ModUser.aspx?userID=<%#Eval("UserID") %>'>设置</a> | <a href='delUser.aspx?userID=<%#Eval("UserID") %>' onclick="return confirm('请谨慎考虑!确认删除吗?');">
                        删除</a></td>
            </tr>
            </ItemTemplate>
后面还有 14 行代码,购买后查看完整代码

24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明

AI 解读

登录后可用,每次 10 积分,解读结果公开显示在下面。

还没有人解读过这个文件。