?? addteacher.aspx
字號:
<%@ Page language="c#" Inherits="sms.addteacher" CodeFile="addteacher.aspx.cs" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
<HEAD>
<title>addteacher</title>
<meta content="Microsoft Visual Studio 7.0" 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>
<form method="post" runat="server">
<TABLE id="Table1" style="HEIGHT: 234px" cellSpacing="1" cellPadding="1" width="80%" align="center" border="1">
<TR>
<TD bgcolor="#6699ff">
<P align="center"><FONT face="宋體" size="6"><STRONG>添加教師信息</STRONG></FONT></P>
</TD>
</TR>
<TR>
<TD style="HEIGHT: 172px"><FONT face="宋體">
<TABLE id="Table2" cellSpacing="1" cellPadding="1" width="80%" align="center" bgColor="#f5f5f5" border="1" style="HEIGHT: 161px">
<TR>
<TD style="WIDTH: 173px; height: 55px;">
<P align="right"><EM>教師編號:</EM></P>
</TD>
<TD colSpan="2" style="height: 55px">
<asp:TextBox id="Tbx_id" runat="server"></asp:TextBox>
<asp:CustomValidator id="Cv_id" runat="server" ErrorMessage="此教師已存在" ControlToValidate="Tbx_id"></asp:CustomValidator>
<asp:RequiredFieldValidator id="Rfv_id" runat="server" ErrorMessage="不能為空" ControlToValidate="Tbx_id"></asp:RequiredFieldValidator></TD>
</TR>
<TR>
<TD style="WIDTH: 173px">
<P align="right"><EM>教師姓名:</EM></P>
</TD>
<TD colSpan="2">
<asp:TextBox id="Tbx_name" runat="server"></asp:TextBox></TD>
</TR>
<TR>
<TD style="WIDTH: 173px">
<P align="right"><EM>所在學院:</EM></P>
</TD>
<TD colSpan="2">
<asp:DropDownList id="Ddl_college" runat="server" Width="110px">
<asp:ListItem Value="0">信息工程學院</asp:ListItem>
<asp:ListItem Value="1">管理學院</asp:ListItem>
<asp:ListItem Value="2">材料學院</asp:ListItem>
<asp:ListItem Value="3">文法學院</asp:ListItem>
<asp:ListItem Value="4">機械學院</asp:ListItem>
<asp:ListItem Value="5">應用學院</asp:ListItem>
<asp:ListItem Value="6">冶金學院</asp:ListItem>
</asp:DropDownList></TD>
</TR>
<TR>
<TD style="WIDTH: 173px"></TD>
<TD colSpan="2">
<asp:Button id="Btn_add" runat="server" Text="添加" onclick="Btn_add_Click"></asp:Button>
<asp:Label id="Lbl_note" runat="server"></asp:Label></TD>
</TR>
</TABLE>
</FONT>
</TD>
</TR>
<TR>
<TD align="middle" bgcolor="#6699ff"><a href="teacher.aspx"><FONT face="宋體">返回</FONT></a></TD>
</TR>
</TABLE>
</form>
</body>
</HTML>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -