📄 addteacher.aspx
字号:
<%@ Register TagPrefix="uc2" TagName="head" Src="ascxs/head.ascx" %>
<%@ Page language="c#" Codebehind="Addteacher.aspx.cs" AutoEventWireup="false" Inherits="kqxt.Addtecher" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
<HEAD>
<title>Addtecher</title>
<meta content="Microsoft Visual Studio .NET 7.1" name="GENERATOR">
<meta content="C#" name="CODE_LANGUAGE">
<meta content="JavaScript" name="vs_defaultClientScript">
<meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">
</HEAD>
<body MS_POSITIONING="GridLayout" background="image/index2_29.gif">
<form id="Form1" method="post" runat="server">
<FONT face="宋体"></FONT>
<asp:panel id="Panel1" style="Z-INDEX: 101; LEFT: 272px; POSITION: absolute; TOP: 240px" runat="server"
Width="688px" Height="240px"><FONT
face=宋体>
</FONT>
<asp:Button id=ADDtbn runat="server" Width="56px" Text="添加"></asp:Button>
<asp:DataGrid id=DataGrid1 runat="server" Height="176px" Width="680px" DataKeyField="thID" AutoGenerateColumns="False" PageSize="5" AllowPaging="True" BorderColor="#999999" BorderStyle="None" BorderWidth="1px" BackColor="White" CellPadding="3" GridLines="Vertical">
<SelectedItemStyle Font-Bold="True" ForeColor="White" BackColor="#008A8C"></SelectedItemStyle>
<AlternatingItemStyle BackColor="Gainsboro"></AlternatingItemStyle>
<ItemStyle ForeColor="Black" BackColor="#EEEEEE"></ItemStyle>
<HeaderStyle Font-Bold="True" ForeColor="White" BackColor="#000084"></HeaderStyle>
<FooterStyle ForeColor="Black" BackColor="#CCCCCC"></FooterStyle>
<Columns>
<asp:BoundColumn DataField="thID" HeaderText="职工号"></asp:BoundColumn>
<asp:BoundColumn DataField="thName" HeaderText="姓名"></asp:BoundColumn>
<asp:BoundColumn DataField="courseName" HeaderText="所教课程"></asp:BoundColumn>
<asp:ButtonColumn Text="删除" HeaderText="删除" CommandName="Delete"></asp:ButtonColumn>
<asp:EditCommandColumn ButtonType="LinkButton" UpdateText="更新" HeaderText="编辑" CancelText="取消" EditText="编辑"></asp:EditCommandColumn>
</Columns>
<PagerStyle NextPageText="下一页" PrevPageText="上一页" HorizontalAlign="Center" ForeColor="Black"
BackColor="#999999" Mode="NumericPages"></PagerStyle>
</asp:DataGrid>
</asp:panel>
<TABLE id="Table1" style="Z-INDEX: 103; LEFT: 8px; POSITION: absolute; TOP: 8px" cellSpacing="1"
cellPadding="1" width="1200" align="center" border="0">
<TR>
<TD style="HEIGHT: 197px" align="center">
<uc2:head id="Head1" runat="server"></uc2:head></TD>
</TR>
<TR>
<TD align="center"><FONT face="宋体">
<asp:LinkButton id="LinkButton1" runat="server">修改密码</asp:LinkButton>
<asp:LinkButton id="LinkButton2" runat="server">班级管理</asp:LinkButton>
<asp:LinkButton id="LinkButton3" runat="server">教师管理</asp:LinkButton>
<asp:LinkButton id="LinkButton4" runat="server">课程管理</asp:LinkButton>
<asp:LinkButton id="LinkButton5" runat="server">学生管理</asp:LinkButton>
<asp:LinkButton id="LinkButton6" runat="server">班级课程管理</asp:LinkButton>
<asp:LinkButton id="LinkButton7" runat="server">用户管理</asp:LinkButton></FONT></TD>
</TR>
</TABLE>
<asp:panel id="Panel2" style="Z-INDEX: 102; LEFT: 392px; POSITION: absolute; TOP: 440px" runat="server"
Width="680px" Height="244px">
<P> </P>
<TABLE id=Table3 style="WIDTH: 408px; HEIGHT: 154px" cellSpacing=1 cellPadding=1
width=408 border=0>
<TR>
<TD style="WIDTH: 181px; HEIGHT: 36px" align=center><FONT
face=宋体> 职工号:</FONT></TD>
<TD style="HEIGHT: 36px">
<asp:TextBox id=thID runat="server" Height="27px"></asp:TextBox></TD></TR>
<TR>
<TD style="WIDTH: 181px; HEIGHT: 36px" align=center><FONT
face=宋体>姓名:</FONT></TD>
<TD style="HEIGHT: 36px">
<asp:TextBox id=thName runat="server" Height="27px"></asp:TextBox></TD></TR>
<TR>
<TD style="WIDTH: 181px; HEIGHT: 40px" align=center><FONT
face=宋体>所教课程:</FONT></TD>
<TD style="HEIGHT: 40px"><FONT face=宋体>
<asp:DropDownList id=dr runat="server" Width="64px">
<asp:ListItem Selected="True"></asp:ListItem>
</asp:DropDownList></FONT></TD></TR>
<TR>
<TD align=center colSpan=2>
<asp:Button id=Button1 runat="server" Width="54px" Text="添加"></asp:Button><FONT
face=宋体> </FONT>
<asp:Button id=Button2 runat="server" Width="53px" Text="重置"></asp:Button></TD></TR></TABLE>
</asp:panel></form>
</body>
</HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -