⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 listuser.aspx

📁 在线小说阅读
💻 ASPX
字号:
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ListUser.aspx.cs" Inherits="novel.UserManage.ListUser" %>

<!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>
</head>
<body background="../image/background.jpg">
    <form id="form1" runat="server">
    <div style="background-image: url(image/background.jpg)">
        <table  border="1" style="width: 674px; height: 35px">
            <tr>
                <td colspan="3" style="height: 5px; text-align: center">
                    <span style="font-size: 9pt">所有用户管理</span></td>
            </tr>
            <tr>
                <td style="width: 333px; height: 7px; text-align: left">
                    <span style="font-size: 12px">用户名:<asp:TextBox ID="Text_name" runat="server" Width="106px"></asp:TextBox>&nbsp;</span></td>
                <td colspan="2" style="height: 7px; text-align: left">
                    <span style="font-size: 12px">
                        角色:<asp:DropDownList ID="RoleName"
                            runat="server" AutoPostBack="True" DataTextField="RoleName" DataValueField="serial" OnSelectedIndexChanged="Button1_Click">
                            <asp:ListItem Value="0">全部</asp:ListItem>
                            <asp:ListItem>系统管理员</asp:ListItem>
                            <asp:ListItem>一般用户</asp:ListItem>
                        </asp:DropDownList>
                        &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
                        &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
                        &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp; &nbsp;<asp:Button ID="Button1" runat="server" Font-Size="12px" OnClick="Button1_Click"
                            Text="查询" />
                        &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;
                    </span>
                </td>
            </tr>
            <tr>
                <td colspan="3">
                    <asp:GridView ID="GV_User" runat="server" AutoGenerateColumns="False" Font-Size="12px"
                        Width="677px" AllowPaging="True" DataKeyNames="serial" OnPageIndexChanging="GV_User_PageIndexChanging" OnRowDataBound="GV_User_RowDataBound" OnRowDeleting="GV_User_RowDeleting">
                        <Columns>
                            <asp:BoundField DataField="serial" HeaderText="serial" Visible="False" />
                            <asp:BoundField DataField="username" HeaderText="用户名" />
                            <asp:BoundField DataField="password" HeaderText="密码" />
                            <asp:BoundField DataField="mail" HeaderText="邮箱" />
                            <asp:BoundField DataField="RoleName" HeaderText="角色" />
                            <asp:BoundField DataField="amount" HeaderText="阅读积分" />
                            <asp:CommandField ShowDeleteButton="True" />
                            <asp:HyperLinkField DataNavigateUrlFields="serial" DataNavigateUrlFormatString="EiditUser.aspx?serial={0}"
                                Text="修改" />
                        </Columns>
                    </asp:GridView>
                </td>
            </tr>
            <tr>
                <td colspan="3">
                </td>
            </tr>
        </table>
    
    </div>
    </form>
</body>
</html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -