📄 teacher_list.aspx
字号:
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Teacher_List.aspx.cs" Inherits="TeacherTroop_Teacher_List" %>
<!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">
<table width="95%" border="0" cellpadding="3" cellspacing="1" align="center" ID="tabList">
<tr>
<td align =center >
<asp:GridView ID="gvList" runat="server" AutoGenerateColumns="False" CellPadding="4"
ForeColor="#333333" GridLines="None" Height="100%" Width="100%" AllowPaging="True" Font-Size="Small" PageSize="5" OnPageIndexChanging="gvList_PageIndexChanging">
<FooterStyle BackColor="#A6A1E0" Font-Bold="True" ForeColor="White" />
<Columns>
<asp:BoundField DataField="userid" HeaderText="教师名称" />
<asp:BoundField DataField="sex" HeaderText="性别" />
<asp:BoundField DataField="college" HeaderText="所属单位" />
<asp:BoundField DataField="class" HeaderText="授课专业" />
<asp:HyperLinkField DataNavigateUrlFields="id" DataTextField ="id" HeaderText ="教师编号" DataNavigateUrlFormatString="~/PersonRecord/MyProfile.aspx?id={0}"/>
</Columns>
<RowStyle BackColor="#E8E7F9" ForeColor="#333333" />
<EditRowStyle BackColor="#E8E7F9" />
<SelectedRowStyle BackColor="#E8E7F9" Font-Bold="True" ForeColor="#333333" />
<PagerStyle BackColor="#A6A1E0" ForeColor="White" HorizontalAlign="Center" />
<HeaderStyle BackColor="#A6A1E0" Font-Bold="True" ForeColor="White" />
<AlternatingRowStyle BackColor="White" ForeColor="#284775" />
</asp:GridView>
</td>
</tr>
</table>
</form>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -