usermanager.aspx

来自「图书管理的相关流程,借书还书流程,比较详细」· ASPX 代码 · 共 39 行

ASPX
39
字号
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="UserManager.aspx.cs" Inherits="UserManager" %>

<!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>
    <form id="form1" runat="server">
    <div>
        <asp:Button ID="Button1" runat="server" Text="返回" OnClick="Button1_Click" /><br />
        <br />
        <asp:GridView ID="userGV" runat="server" AutoGenerateColumns="False" CellPadding="4"
            ForeColor="#333333" GridLines="None" OnRowCommand="userGV_RowCommand" OnRowDeleting="userGV_RowDeleting">
            <FooterStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
            <Columns>
                <asp:BoundField DataField="userID" HeaderText="用户编号" />
                <asp:BoundField DataField="userLoginID" HeaderText="用户登录名" />
                <asp:BoundField DataField="userPwd" HeaderText="用户密码" />
                <asp:BoundField DataField="userName" HeaderText="用户姓名" />
                <asp:ButtonField ButtonType="Button" CommandName="edit" Text="修改" />
                <asp:CommandField ButtonType="Button" ShowDeleteButton="True" />
            </Columns>
            <RowStyle BackColor="#EFF3FB" />
            <EditRowStyle BackColor="#2461BF" />
            <SelectedRowStyle BackColor="#D1DDF1" Font-Bold="True" ForeColor="#333333" />
            <PagerStyle BackColor="#2461BF" ForeColor="White" HorizontalAlign="Center" />
            <HeaderStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
            <AlternatingRowStyle BackColor="White" />
        </asp:GridView>
        <br />
        <asp:Button ID="Button2" runat="server" OnClick="Button2_Click" Text="添加新用户" /><br />
        <br />
        <asp:Label ID="txtMsg" runat="server" ForeColor="Red"></asp:Label>&nbsp;</div>
    </form>
</body>
</html>

⌨️ 快捷键说明

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