📄 manager.aspx
字号:
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Manager.aspx.cs" Inherits="Manager" %>
<!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>
苏州科技学院选课系统<br />
<br />
欢迎你,<asp:Label ID="txtName" runat="server"></asp:Label>
<asp:LinkButton ID="exitLB" runat="server" OnClick="exitLB_Click">退出</asp:LinkButton><br />
<br />
<asp:GridView ID="userGV" runat="server" AutoGenerateColumns="False" CellPadding="4"
ForeColor="#333333" GridLines="None" OnRowDataBound="userGV_RowDataBound" OnRowDeleting="userGV_RowDeleting" OnRowCommand="userGV_RowCommand">
<FooterStyle BackColor="#990000" 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:BoundField DataField="userStauts" HeaderText="用户类型" />
<asp:ButtonField ButtonType="Button" CommandName="edit" Text="修改" />
<asp:CommandField ButtonType="Button" ShowDeleteButton="True" />
</Columns>
<RowStyle BackColor="#FFFBD6" ForeColor="#333333" />
<SelectedRowStyle BackColor="#FFCC66" Font-Bold="True" ForeColor="Navy" />
<PagerStyle BackColor="#FFCC66" ForeColor="#333333" HorizontalAlign="Center" />
<HeaderStyle BackColor="#990000" Font-Bold="True" ForeColor="White" />
<AlternatingRowStyle BackColor="White" />
</asp:GridView>
</div>
<br />
<asp:Button ID="Button1" runat="server" OnClick="Button1_Click" Text="增加新的用户信息" /><br />
<br />
<asp:Label ID="txtMsg" runat="server" ForeColor="Red"></asp:Label>
</form>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -