📄 teacher.aspx
字号:
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Teacher.aspx.cs" Inherits="HouAdmin_Teacher" %>
<!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 style="text-align: center; vertical-align: top;">
<form id="form1" runat="server">
<br />
<table style="background-image: url(../igm/后台登录页面.jpg); width: 798px; height: 533px">
<tr>
<td colspan="3" style="height: 82px">
</td>
</tr>
<tr>
<td rowspan="2" style="width: 70px; text-align: center;">
</td>
<td rowspan="2" style="width: 130px; text-align: left; vertical-align: top;">
<asp:TreeView ID="TreeView1" runat="server" ImageSet="Simple" NodeIndent="10" Font-Size="11pt" Height="182px" Width="43px" ShowLines="True">
<ParentNodeStyle Font-Bold="False" />
<HoverNodeStyle Font-Underline="True" ForeColor="#DD5555" />
<SelectedNodeStyle
Font-Underline="True" HorizontalPadding="0px" VerticalPadding="0px" ForeColor="#DD5555" />
<Nodes>
<asp:TreeNode Expanded="False" Text="教师" Value="新建节点" NavigateUrl="~/HouAdmin/Teacher.aspx">
</asp:TreeNode>
<asp:TreeNode Expanded="False" Text="管理套题信息" Value="管理套题信息" NavigateUrl="~/HouAdmin/taoti_xinxi.aspx">
</asp:TreeNode>
<asp:TreeNode Text="管理考生成绩" Value="管理考生成绩" NavigateUrl="~/HouAdmin/kaosheng_chengji.aspx">
</asp:TreeNode>
<asp:TreeNode Expanded="False" Text="管理考试题目" Value="管理考试题目" NavigateUrl="~/HouAdmin/kaoshi_timu.aspx">
</asp:TreeNode>
<asp:TreeNode Expanded="False" Text="添加试题" Value="添加试题" NavigateUrl="~/HouAdmin/insert_shiti.aspx">
</asp:TreeNode>
<asp:TreeNode Text="退出系统" Value="退出系统"></asp:TreeNode>
</Nodes>
<NodeStyle Font-Names="Verdana" Font-Size="8pt" ForeColor="Black" HorizontalPadding="0px"
NodeSpacing="0px" VerticalPadding="0px" />
</asp:TreeView>
</td>
<td rowspan="2" style="vertical-align: top; width: 100px; text-align: center;">
<table width="550" style="vertical-align: top; text-align: center">
<tr>
<td style="width: 2078px; height: 21px">
<asp:Label ID="Label1" runat="server" Text="查询条件" Font-Size="9pt"></asp:Label></td>
<td style="width: 120px; height: 21px">
<asp:DropDownList ID="ddlTeacherName" runat="server" Width="107px" Font-Size="9pt">
<asp:ListItem Value="Name">教师名称</asp:ListItem>
</asp:DropDownList></td>
<td style="width: 1080px; height: 21px">
<asp:Label ID="Label2" runat="server" Text="关键字" Font-Size="9pt"></asp:Label></td>
<td style="width: 260px; height: 21px">
<asp:TextBox ID="txtSelect" runat="server" Width="100px" Font-Size="9pt"></asp:TextBox></td>
<td style="width: 279px; height: 21px">
<asp:Button ID="btnSelect" runat="server" Text="查询" OnClick="Button1_Click" Font-Size="9pt" /></td>
</tr>
</table>
<asp:GridView ID="gvTeacherInfo" runat="server" AutoGenerateColumns="False" BackColor="White"
BorderColor="#CCCCCC" BorderStyle="None" BorderWidth="1px" CellPadding="4" ForeColor="Black"
GridLines="Horizontal" Width="590px" AllowPaging="True" OnPageIndexChanging="GridView1_PageIndexChanging" PageSize="5" OnRowDeleting="GridView1_RowDeleting" Font-Size="9pt" OnRowDataBound="GridView1_RowDataBound" HorizontalAlign="Center">
<FooterStyle BackColor="#CCCC99" ForeColor="Black" />
<Columns>
<asp:BoundField DataField="Name" HeaderText="教师名称" >
<ItemStyle HorizontalAlign="Center" />
</asp:BoundField>
<asp:BoundField DataField="PWD" HeaderText="教师密码" />
<asp:BoundField DataField="JoinTime" HeaderText="加入时间" />
<asp:HyperLinkField DataNavigateUrlFields="ID" DataNavigateUrlFormatString="Teacher_update.aspx?ID={0}"
HeaderText="修改" Text="修改" >
<ControlStyle Font-Underline="False" />
<FooterStyle Font-Underline="False" />
</asp:HyperLinkField>
<asp:CommandField HeaderText="删除" ShowDeleteButton="True" >
<ControlStyle Font-Underline="False" />
</asp:CommandField>
</Columns>
<SelectedRowStyle BackColor="#CC3333" Font-Bold="True" ForeColor="White" />
<PagerStyle BackColor="White" ForeColor="Black" HorizontalAlign="Right" />
<HeaderStyle BackColor="#333333" Font-Bold="True" ForeColor="White" />
</asp:GridView>
</td>
</tr>
<tr>
</tr>
</table>
</form>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -