📄 empsrecord.aspx
字号:
<%@ Page language="c#" Codebehind="EmpsRecord.cs" AutoEventWireup="false" Inherits="StudentSys.EmpsRecord" %>
<%@ Register TagPrefix="CC" TagName="Header" Src="UserControl\Header.ascx" %>
<%@ Register TagPrefix="FF" TagName="Footer" Src="UserControl\Footer.ascx" %>
<HTML>
<HEAD>
<title>学生信息更新</title>
<LINK href="Css\home.css" type="text/css" rel="stylesheet">
</HEAD>
<body text="#000000" vLink="#000080" aLink="#000080" link="#000080">
<form method="post" runat="server">
<CC:HEADER id="Header" runat="server"></CC:HEADER><input id="p_emps_emp_id" type="hidden" runat="server">
<table width="600" align="center">
<tr>
<td vAlign="top" align="center" width="100%">
<table class="tableBorder1" id="emps_holder" cellSpacing="1" cellPadding="0" width="100%"
border="0" runat="Server">
<tr>
<th align="center" background="images/bg1.gif" height="25">
<asp:label id="GridForm_Title" runat="server">-= 学生信息更新 =-</asp:label></th></tr>
<tr>
<td background="images/sds01_r2_c8.gif">
<table>
<tr>
<td colSpan="2"><asp:label id="emps_ValidationSummary" runat="server" Visible="false"></asp:label><input id="emps_emp_id" type="hidden" runat="server">
</td>
</tr>
<tr>
<td bgColor="#e8f4ff">姓名
<asp:requiredfieldvalidator id="emps_name_Validator_Req" runat="server" EnableClientScript="False" display="None"
ControlToValidate="emps_name" ErrorMessage="请输入姓名!"></asp:requiredfieldvalidator></td>
<td><asp:textbox id="emps_name" runat="server" MaxLength="100" Columns="50"></asp:textbox></td>
</tr>
<tr>
<td bgColor="#e8f4ff">学号
<asp:requiredfieldvalidator id="emps_no_Validator_Req" runat="server" EnableClientScript="False" display="None"
ControlToValidate="emps_no" ErrorMessage="请输入学号!"></asp:requiredfieldvalidator></td>
<td><asp:textbox id="emps_no" runat="server" MaxLength="100" Columns="50"></asp:textbox> </td>
</tr>
<tr>
<td bgColor="#e8f4ff">职务
<asp:requiredfieldvalidator id="emps_title_Validator_Req" runat="server" EnableClientScript="False" display="None"
ControlToValidate="emps_title" ErrorMessage="请输入职务!"></asp:requiredfieldvalidator></td>
<td><asp:textbox id="emps_title" runat="server" MaxLength="50" Columns="50"></asp:textbox> </td>
</tr>
<tr>
<td bgColor="#e8f4ff">帐号
<asp:requiredfieldvalidator id="emps_emp_login_Validator_Req" runat="server" EnableClientScript="False" display="None"
ControlToValidate="emps_emp_login" ErrorMessage="The value in field Login is required."></asp:requiredfieldvalidator></td>
<td><asp:textbox id="emps_emp_login" runat="server" MaxLength="20" Columns="20"></asp:textbox> </td>
</tr>
<tr>
<td bgColor="#e8f4ff">密码
<asp:requiredfieldvalidator id="emps_emp_password_Validator_Req" runat="server" EnableClientScript="False" display="None"
ControlToValidate="emps_emp_password" ErrorMessage="The value in field Password is required."></asp:requiredfieldvalidator></td>
<td><asp:textbox id="emps_emp_password" runat="server" MaxLength="20" Columns="20" TextMode="Password"></asp:textbox> </td>
</tr>
<tr>
<td bgColor="#e8f4ff">级别
<asp:requiredfieldvalidator id="emps_emp_level_Validator_Req" runat="server" EnableClientScript="False" display="None"
ControlToValidate="emps_emp_level" ErrorMessage="The value in field Level is required."></asp:requiredfieldvalidator><asp:customvalidator id="emps_emp_level_Validator_Num" runat="server" EnableClientScript="False" display="None"
ControlToValidate="emps_emp_level" ErrorMessage="The value in field Level is incorrect." OnServerValidate="ValidateNumeric"></asp:customvalidator></td>
<td><asp:dropdownlist id="emps_emp_level" runat="server" DataValueField="" DataTextField=""></asp:dropdownlist> </td>
</tr>
<tr>
<td bgColor="#e8f4ff">班级
<asp:requiredfieldvalidator id="emps_dep_id_Validator_Req" runat="server" EnableClientScript="False" display="None"
ControlToValidate="emps_dep_id" ErrorMessage="The value in field Department is required."></asp:requiredfieldvalidator><asp:customvalidator id="emps_dep_id_Validator_Num" runat="server" EnableClientScript="False" display="None"
ControlToValidate="emps_dep_id" ErrorMessage="The value in field Department is incorrect." OnServerValidate="ValidateNumeric"></asp:customvalidator></td>
<td><asp:dropdownlist id="emps_dep_id" runat="server" DataValueField="dep_id" DataTextField="name"></asp:dropdownlist> </td>
</tr>
<tr>
<td bgColor="#e8f4ff">地址</td>
<td><asp:textbox id="emps_address" runat="server" Columns="50" TextMode="MultiLine" Rows="2"></asp:textbox> </td>
</tr>
<tr>
<td bgColor="#e8f4ff">Email</td>
<td><asp:textbox id="emps_email" runat="server" MaxLength="50" Columns="50"></asp:textbox> </td>
</tr>
<tr>
<td bgColor="#e8f4ff">宿舍电话</td>
<td><asp:textbox id="emps_work_phone" runat="server" MaxLength="50" Columns="50"></asp:textbox> </td>
</tr>
<tr>
<td bgColor="#e8f4ff">家庭电话</td>
<td><asp:textbox id="emps_home_phone" runat="server" MaxLength="50" Columns="50"></asp:textbox> </td>
</tr>
<tr>
<td bgColor="#e8f4ff">移动电话</td>
<td><asp:textbox id="emps_cell_phone" runat="server" MaxLength="50" Columns="50"></asp:textbox> </td>
</tr>
<tr>
<td bgColor="#e8f4ff">优秀学生</td>
<td><asp:checkbox id="emps_manmonth" runat="server"></asp:checkbox> </td>
</tr>
<tr>
<td bgColor="#e8f4ff">照片名称</td>
<td>
<asp:TextBox id="emps_picture" Columns="50" MaxLength="100" runat="server" /> </td>
</tr>
<tr>
<td align="right" colspan="2">
<input type="button" id="emps_insert" Value="新增" runat="server"> <input type="button" id="emps_update" Value="修改" runat="server">
<input type="button" id="emps_delete" Value="删除" runat="server"> <input type="button" id="emps_cancel" Value="取消" runat="server">
</td>
</tr>
</table>
<SCRIPT Language="JavaScript" type="text/javascript">
if (document.forms["emps"])
document.emps.onsubmit=delconf;
function delconf() {
if (document.emps.FormAction.value == 'delete')
return confirm('Delete record?');
}
</SCRIPT>
</td>
</tr>
</table>
</td>
</tr>
</table>
</form>
<center>
<FF:Footer id="Footer" runat="server" /></center>
</body>
</HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -