📄 adminuserinfodetail.aspx
字号:
<%@ Page Language="C#" MasterPageFile ="~/Admin.master" AutoEventWireup="true" CodeFile="adminuserinfodetail.aspx.cs" Inherits="adminuserinfodetail" Title ="学生基本资料管理编辑" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<table border="0" style="width: 936px">
<tr>
<td nowrap="nowrap" style="height: 27px" background="images/admin_bg_1.gif">
<div align="center" style="font-weight: bold; font-size: 14px; color: white">
用户管理->学生基本资料管理编辑</div>
</td>
</tr>
<tr>
<td nowrap="nowrap" style="height: 18px">
<div align="left">
<marquee scrollamount="3" ><asp:Label ID="Label1" runat="server" ForeColor="Red" Style="font-weight: bold; color: red;" Text="重要说明:"></asp:Label>
如果要修改数据,请选择对应后面的下拉例表里面的数据或在表单里输入数据,最后以该数据为准添加到数据库中.</marquee>
</div>
</td>
</tr>
</table>
<asp:Panel ID="Panel1" runat="server" Height="50px" Width="871px">
<div align="center">
<table border="0" style="width: 802px; background-color: transparent">
<tr>
<td align="left" background="images/admin_bg_1.gif" colspan="4" nowrap="nowrap" style="font-weight: bold;
font-size: 14px; color: white; height: 24px">
学生基本资料编辑</td>
</tr>
<tr>
<td nowrap="nowrap" style="width: 79px; height: 4px">
<div align="right">
真实姓名:</div>
</td>
<td nowrap="nowrap" style="width: 321px; height: 4px">
<div align="left">
<asp:TextBox ID="txtname" runat="server"></asp:TextBox><asp:RequiredFieldValidator
ID="RequiredFieldValidator1" runat="server" ControlToValidate="txtname" Display="Dynamic"
Font-Bold="False">"用户名称"必须填写</asp:RequiredFieldValidator><asp:RegularExpressionValidator
ID="a_yzzz2" runat="server" ControlToValidate="txtname" ErrorMessage="中文" ValidationExpression="^[\u4E00-\u9FA5]{1,5}"></asp:RegularExpressionValidator></div>
</td>
<td nowrap="nowrap" style="width: 86px; color: #000000; height: 4px">
<div align="right">
民族:</div>
</td>
<td nowrap="nowrap" style="height: 4px">
<div align="left">
<asp:Label ID="Labminzu" runat="server"></asp:Label>
<asp:DropDownList ID="ddlminzu" runat="server" DataSourceID="SqlDataSource2" DataTextField="minzu"
DataValueField="minzu" Style="color: black">
</asp:DropDownList><asp:SqlDataSource ID="SqlDataSource2" runat="server" ConnectionString="Data Source=.;Initial Catalog=studenthome;Integrated Security=True"
ProviderName="System.Data.SqlClient" SelectCommand="SELECT [minzu] FROM [minzu]">
</asp:SqlDataSource>
</div>
</td>
</tr>
<tr>
<td nowrap="nowrap" style="width: 79px; height: 11px">
<div align="right">
性别:</div>
</td>
<td nowrap="nowrap" style="width: 321px; height: 11px" align="left">
<asp:Label ID="Labsex" runat="server" style="font-weight: bold"></asp:Label>
<asp:DropDownList ID="ddlsex" runat="server" Style="font-weight: normal; color: black">
<asp:ListItem Selected="True">请选择</asp:ListItem>
<asp:ListItem>男</asp:ListItem>
<asp:ListItem>女</asp:ListItem>
</asp:DropDownList></td>
<td nowrap="nowrap" style="width: 86px; height: 11px">
<div align="right">
家庭住址:</div>
</td>
<td nowrap="nowrap" style="height: 11px">
<div align="left">
<asp:TextBox ID="txtaddress" runat="server"></asp:TextBox>
<asp:RequiredFieldValidator ID="RequiredFieldValidator8" runat="server" ControlToValidate="txtaddress"
ErrorMessage="RequiredFieldValidator">"家庭住址"不能为空</asp:RequiredFieldValidator></div>
</td>
</tr>
<tr style="color: #000000">
<td nowrap="nowrap" style="width: 79px">
<div align="right">
年龄</div>
</td>
<td nowrap="nowrap" style="width: 321px" align="left">
<asp:TextBox ID="txtage" runat="server"></asp:TextBox><asp:RangeValidator ID="RangeValidator2"
runat="server" ControlToValidate="txtage" Display="Dynamic" ErrorMessage="年龄超出范围(1-150)"
MaximumValue="150" MinimumValue="1" Type="Integer"></asp:RangeValidator><asp:RequiredFieldValidator
ID="RequiredFieldValidator11" runat="server" ControlToValidate="txtage" ErrorMessage="年龄要填写哦?"></asp:RequiredFieldValidator></td>
<td nowrap="nowrap" style="width: 86px">
<div align="right">
家庭电话:</div>
</td>
<td nowrap="nowrap">
<div align="left">
<asp:TextBox ID="txtuserphone" runat="server"></asp:TextBox><asp:RequiredFieldValidator
ID="RequiredFieldValidator10" runat="server" ControlToValidate="txtuserphone"
Display="Dynamic" ErrorMessage="家庭电话号码必填"></asp:RequiredFieldValidator><asp:RegularExpressionValidator
ID="RegularExpressionValidator4" runat="server" ControlToValidate="txtuserphone"
ErrorMessage="请输入7位或8位的家庭电话号码" ValidationExpression="(\(\d{3,4}\)|\d{3,4}-)?\d{7,8}"></asp:RegularExpressionValidator></div>
</td>
</tr>
<tr>
<td nowrap="nowrap" style="width: 79px; height: 24px;">
<div align="right">
出生日期:</div>
</td>
<td nowrap="nowrap" style="width: 321px; height: 24px;">
<div align="left">
<asp:DropDownList ID="ddlyear" runat="server" Style="font-weight: normal; color: black">
</asp:DropDownList>
年<asp:DropDownList ID="ddlmonth" runat="server" Style="font-weight: normal; color: black">
</asp:DropDownList>
月<asp:DropDownList ID="ddlday" runat="server" Style="font-weight: normal">
</asp:DropDownList>日</div>
</td>
<td nowrap="nowrap" style="width: 86px; height: 24px;">
<div align="right">
E-mail地址:</div>
</td>
<td nowrap="nowrap" style="height: 24px">
<div align="left">
<asp:TextBox ID="txtuseremail" runat="server"></asp:TextBox><asp:RequiredFieldValidator
ID="RequiredFieldValidator12" runat="server" ControlToValidate="txtuseremail"
Display="Dynamic" ErrorMessage="E-mail地址不能为空"></asp:RequiredFieldValidator><asp:RegularExpressionValidator
ID="RegularExpressionValidator3" runat="server" ControlToValidate="txtuseremail"
Display="Dynamic" ErrorMessage="E-mail地址输入有误" ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*"></asp:RegularExpressionValidator></div>
</td>
</tr>
<tr>
<td nowrap="nowrap" style="width: 79px; height: 12px;">
<div align="right">
宿舍的身份:</div>
</td>
<td nowrap="nowrap" style="width: 321px; height: 12px;" align="left">
<asp:Label ID="Labshenfen" runat="server" Style="font-weight: bold"></asp:Label> <asp:DropDownList ID="ddlhomeshenfen" runat="server" Style="font-weight: normal">
<asp:ListItem Selected="True">请选择</asp:ListItem>
<asp:ListItem>室员</asp:ListItem>
<asp:ListItem>寝室长</asp:ListItem>
</asp:DropDownList></td>
<td nowrap="nowrap" style="width: 86px; height: 12px;">
<div align="right">
</div>
</td>
<td nowrap="nowrap" style="height: 12px">
<div align="left">
</div>
</td>
</tr>
<tr>
<td align="left" background="images/admin_bg_1.gif" colspan="4" nowrap="nowrap" style="font-weight: bold;
font-size: 14px; color: white; height: 25px">
班级信息编辑</td>
</tr>
<tr>
<td nowrap="nowrap" style="width: 79px; height: 23px">
<div align="right">
学号:</div>
</td>
<td nowrap="nowrap" style="width: 321px; height: 23px">
<div align="left">
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -