📄 alterstudentinform.aspx
字号:
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Alterstudentinform.aspx.cs" Inherits="RS_Admin_Sys_XS_Mgt_XS_info_Mgt_Alterstudentinform" %>
<!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>
<link href="~/css/mm.css" rel="stylesheet" type="text/css" />
</head>
<body>
<form id="form1" runat="server">
<div>
<table id="TABLE1" onclick="return TABLE1_onclick()" style="width: 532px" border="1" cellpadding="0" cellspacing="0">
<tr>
<td style="width: 100px; color: #99ff66; height: 21px">
修改学生信息</td>
<td style="width: 105px; height: 21px">
</td>
<td style="width: 93px; height: 21px">
</td>
</tr>
<tr>
<td style="width: 100px; color: purple; height: 26px;">
班级</td>
<td style="width: 105px; color: purple; height: 26px;">
<asp:DropDownList ID="cID" runat="server" DataSourceID="SqlDataSource1" DataTextField="class_name"
DataValueField="class_ID">
</asp:DropDownList>
<asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:XTeamConnectionString %>"
SelectCommand="SELECT [class_ID], [class_name] FROM [class]"></asp:SqlDataSource>
</td>
<td style="width: 100px; color: purple; height: 26px;">
</td>
</tr>
<tr>
<td style="width: 100px; color: purple; height: 40px;">
姓名</td>
<td style="width: 105px; color: purple; height: 40px;">
<asp:TextBox ID="student_name" runat="server" ></asp:TextBox></td>
<td style="width: 100px; color: purple; height: 40px;">
<asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="student_name"
ErrorMessage="姓名不能为空"></asp:RequiredFieldValidator></td>
</tr>
<tr>
<td style="width: 100px">
性别</td>
<td style="width: 105px">
<asp:TextBox ID="TBxsex" runat="server"></asp:TextBox></td>
<td style="width: 93px">
</td>
</tr>
<tr>
<td style="width: 100px; height: 26px;">
学号</td>
<td style="width: 105px; height: 26px;">
<asp:TextBox ID="student_num" runat="server"></asp:TextBox></td>
<td style="width: 93px; height: 26px;">
<asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" ControlToValidate="student_num"
ErrorMessage="学号不能为空" Width="113px"></asp:RequiredFieldValidator></td>
</tr>
<tr style="color: #000000">
<td style="width: 100px; height: 26px">
年龄</td>
<td style="width: 105px; height: 26px">
<asp:TextBox ID="student_age" runat="server" CausesValidation="True" AutoPostBack="True"></asp:TextBox></td>
<td style="width: 93px; height: 26px">
</td>
</tr>
<tr>
<td style="width: 100px">
身份证号码</td>
<td style="width: 105px">
<asp:TextBox ID="student_IDcard" runat="server"></asp:TextBox></td>
<td style="width: 93px">
</td>
</tr>
<tr style="color: #000000">
<td style="width: 100px">
政治面貌</td>
<td style="width: 105px">
<asp:TextBox ID="student_feature" runat="server"></asp:TextBox></td>
<td style="width: 93px">
</td>
</tr>
<tr>
<td style="width: 100px">
班级</td>
<td style="width: 105px">
<asp:TextBox ID="class_name" runat="server"></asp:TextBox></td>
<td style="width: 93px">
</td>
</tr>
<tr>
<td style="width: 100px; height: 21px">
联系电话</td>
<td style="width: 105px; height: 21px">
<asp:TextBox ID="student_phone" runat="server"></asp:TextBox></td>
<td style="width: 93px; height: 21px">
</td>
</tr>
<tr>
<td style="width: 100px; height: 25px;">
籍贯</td>
<td style="width: 105px; height: 25px;">
<asp:TextBox ID="student_born" runat="server"></asp:TextBox></td>
<td style="width: 93px; height: 25px;">
</td>
</tr>
<tr>
<td style="width: 100px">
联系地址</td>
<td style="width: 105px">
<asp:TextBox ID="student_address" runat="server"></asp:TextBox></td>
<td style="width: 93px">
</td>
</tr>
<tr>
<td style="width: 100px; height: 18px">
照片</td>
<td style="width: 105px; height: 18px">
<asp:Image ID="student_image" runat="server" Height="118px" Width="154px" />
<asp:FileUpload ID="FileUpload1" runat="server" Width="152px" /></td>
</tr>
<tr>
<td style="width: 100px; height: 26px">
电子邮箱</td>
<td style="width: 105px; height: 26px">
<asp:TextBox ID="student_email" runat="server"></asp:TextBox></td>
<td style="width: 93px; height: 26px">
</td>
</tr>
<tr>
<td style="width: 100px">
异动情况</td>
<td style="width: 105px">
<asp:TextBox ID="student_swap" runat="server"></asp:TextBox></td>
<td style="width: 93px">
</td>
</tr>
<tr>
<td style="width: 100px; height: 23px">
入学时间</td>
<td style="width: 105px; height: 23px">
<asp:TextBox ID="enter_time" runat="server"></asp:TextBox></td>
<td style="width: 93px; height: 23px">
</td>
</tr>
<tr>
<td style="width: 100px">
任职情况</td>
<td style="width: 105px">
<asp:TextBox ID="function" runat="server" TextMode="MultiLine" Width="149px"></asp:TextBox></td>
<td style="width: 93px">
</td>
</tr>
<tr>
<td style="width: 100px; height: 31px">
备注</td>
<td style="width: 105px; height: 31px">
<asp:TextBox ID="student_intru" runat="server" TextMode="MultiLine" Width="149px"></asp:TextBox></td>
<td style="width: 93px; height: 31px">
</td>
</tr>
<tr>
<td style="width: 100px; height: 26px">
<asp:Button ID="AltStud" runat="server" Text="保存" Width="79px" OnClick="AltStud_Click1" /></td>
<td style="width: 105px; height: 26px">
</td>
<td style="width: 93px; height: 26px">
</td>
</tr>
</table>
<div style="z-index: 101; left: 381px; width: 156px; position: absolute; top: 373px;
height: 141px">
<br />
<br />
<br />
<asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="FileUpload1"
ErrorMessage="照片不能为空" Height="22px" Width="128px"></asp:RequiredFieldValidator></div>
</div>
</form>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -