📄 adminstudentmanage.aspx
字号:
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="AdminStudentManage.aspx.cs" Inherits="StudentManage" %>
<!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>
<div>
<div style="text-align: center">
<span style="font-size: 24pt"><strong>
考生信息管理 </strong></span>
<br />
<table style="font-size: 12pt; width: 678px; border-top-style: solid; border-right-style: solid; border-left-style: solid; border-bottom-style: solid;">
<tr>
<td colspan="3" style="width: 688px; height: 50px; border-bottom-style: solid; text-align: center;">
请选择查询条件:<asp:DropDownList ID="ddlSearch" runat="server" Width="96px">
<asp:ListItem Value="UserID">考生编号</asp:ListItem>
<asp:ListItem Value="UserName">考生姓名</asp:ListItem>
</asp:DropDownList>
<asp:TextBox ID="tbSearch" runat="server" Width="149px"></asp:TextBox>
<asp:ImageButton ID="imbtnSearch" runat="server" ImageUrl="~/images/btn_search_11.png" OnClick="imbtnSearch_Click" /><br />
<span style="font-size: 10pt">
(注:如果为空则显示所有考生的信息 )</span></td>
</tr>
<tr>
<td colspan="3" style="width: 688px; height: 29px; text-align: center; border-bottom-style: solid;">
添加考生信息
<asp:ImageButton ID="imbtnAdd" runat="server" ImageUrl="~/images/btn_new_a1.gif" OnClick="imbtnAdd_Click" /></td>
</tr>
<tr>
<td colspan="3" style="width: 688px; height: 322px; text-align: center; border-bottom-style: solid;">
<asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" Width="684px" AllowPaging="True" CellPadding="4" ForeColor="#333333" GridLines="None" Height="182px" OnPageIndexChanging="GridView1_PageIndexChanging">
<Columns>
<asp:BoundField DataField="ID" HeaderText="ID" InsertVisible="False" ReadOnly="True"
SortExpression="ID" />
<asp:BoundField DataField="UserID" HeaderText="学生编号" SortExpression="UserID" />
<asp:BoundField DataField="UserName" HeaderText="学生姓名" SortExpression="UserName" />
<asp:BoundField DataField="UserPassword" HeaderText="密码" SortExpression="UserPassword" />
<asp:BoundField DataField="Email" HeaderText="邮箱" SortExpression="Email" />
<asp:HyperLinkField DataNavigateUrlFields="ID" DataNavigateUrlFormatString="AdminModifyStudent.aspx?ID={0}"
Text="查看/修改" />
<asp:HyperLinkField DataNavigateUrlFields="ID" DataNavigateUrlFormatString="DeleteStudent.aspx?ID={0}"
Text="删除" />
</Columns>
<FooterStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
<RowStyle BackColor="#F7F6F3" ForeColor="#333333" />
<PagerStyle BackColor="#284775" ForeColor="White" HorizontalAlign="Center" />
<SelectedRowStyle BackColor="#E2DED6" Font-Bold="True" ForeColor="#333333" />
<HeaderStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
<EditRowStyle BackColor="#999999" />
<AlternatingRowStyle BackColor="White" ForeColor="#284775" />
<EmptyDataTemplate>
<span style="color: #ff0033">没有满足要求的记录</span>
</EmptyDataTemplate>
</asp:GridView>
<asp:Label ID="lbl_noResult" runat="server" ForeColor="Red" Visible="False">没有满足要求的记录</asp:Label></td>
</tr>
<tr>
<td colspan="3" style="width: 688px; height: 30px; text-align: left;">
共有<asp:Label ID="lblCount" runat="server" ForeColor="Red"></asp:Label>条数据</td>
</tr>
</table>
</div>
</div>
</div>
</form>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -