📄 userinfoedit.ascx
字号:
<%@ Control Language="C#" AutoEventWireup="true" CodeFile="UserinfoEdit.ascx.cs" Inherits="UserinfoEdit" %>
<asp:Label ID="Label1" runat="server" Style="background-color: #ff9933" Text="基本信息修改"></asp:Label><br />
<br />
<table style="width: 480px">
<tr>
<td style="width: 136px; background-color: #33ffcc">
用户名</td>
<td style="width: 445px; background-color: #33ffcc">
<asp:Label ID="UserID" runat="server"></asp:Label></td>
</tr>
<tr>
<td style="width: 136px; background-color: #33ffcc">
真实姓名</td>
<td style="width: 445px; background-color: #33ffcc">
<asp:Label ID="UserName" runat="server"></asp:Label></td>
</tr>
<tr>
<td style="width: 136px; background-color: #33ffcc">
年龄</td>
<td style="width: 445px; background-color: #33ffcc">
<asp:TextBox ID="Age" runat="server"></asp:TextBox>
<asp:RangeValidator ID="RangeValidator1" runat="server" ControlToValidate="Age" Display="Dynamic"
ErrorMessage="您在开玩笑吗?!" MaximumValue="100" MinimumValue="1" Type="Integer"></asp:RangeValidator></td>
</tr>
<tr>
<td style="width: 136px; background-color: #33ffcc">
性别</td>
<td style="width: 445px; background-color: #33ffcc">
<asp:DropDownList ID="Sex" runat="server">
<asp:ListItem>男</asp:ListItem>
<asp:ListItem>女</asp:ListItem>
</asp:DropDownList></td>
</tr>
<tr>
<td style="width: 136px; height: 21px; background-color: #33ffcc">
职业</td>
<td style="width: 445px; height: 21px; background-color: #33ffcc">
<asp:TextBox ID="Job" runat="server"></asp:TextBox></td>
</tr>
<tr>
<td style="width: 136px; background-color: #33ffcc">
毕业院校</td>
<td style="width: 445px; background-color: #33ffcc">
<asp:TextBox ID="SchoolName" runat="server"></asp:TextBox></td>
</tr>
<tr>
<td style="width: 136px; background-color: #33ffcc">
电子邮箱</td>
<td style="width: 445px; background-color: #33ffcc">
<asp:TextBox ID="Email" runat="server"></asp:TextBox>
<asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="Email"
Display="Dynamic" ErrorMessage="请输入Email地址"></asp:RequiredFieldValidator>
<asp:RegularExpressionValidator ID="RegularExpressionValidator3" runat="server" ControlToValidate="Email"
Display="Dynamic" ErrorMessage="Email格式" ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*"></asp:RegularExpressionValidator></td>
</tr>
<tr>
<td style="width: 136px; background-color: #33ffcc">
是否接收站内信息</td>
<td style="width: 445px; background-color: #33ffcc">
<asp:CheckBox ID="Receive" runat="server" /></td>
</tr>
</table>
<br />
<asp:Button ID="Button1" runat="server" OnClick="Button1_Click" Text="提交修改" />
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -