📄 errol.aspx
字号:
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Errol.aspx.cs" Inherits="Errol" %>
<!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>
</head>
<body>
<form id="form1" runat="server">
<div>
<asp:ScriptManager ID="ScriptManager1" runat="server">
</asp:ScriptManager>
<table style="left: 188px; width: 486px; position: relative; top: -4px; height: 419px" border="1">
<tr>
<td colspan="3" style="height: 41px">
<asp:Label ID="lblTitle" runat="server"
Font-Size="X-Large" ForeColor="Blue" Height="26px" Style="left: -61px; position: relative;
top: 0px" Width="163px"></asp:Label></td>
</tr>
<tr>
<td style="width: 109px">
用户名</td>
<td style="width: 38px">
<asp:UpdatePanel ID="UpdatePanel2" runat="server">
<ContentTemplate>
<asp:TextBox ID="txtUser" runat="server" Style="position: relative; left: 0px; top: 27px;" OnTextChanged="txtUser_TextChanged" AutoPostBack="True"></asp:TextBox><asp:Label
ID="lblError" runat="server" ForeColor="Red" Style="left: 13px; position: relative;
top: 33px" Width="90px"></asp:Label>
<br />
<br />
</ContentTemplate>
</asp:UpdatePanel>
</td>
<td style="width: 223px">
<asp:RequiredFieldValidator ID="rfvUser" runat="server" ErrorMessage="RequiredFieldValidator"
Style="position: relative" ControlToValidate="txtUser">用户名不能为空</asp:RequiredFieldValidator></td>
</tr>
<tr>
<td style="width: 109px">
昵称</td>
<td style="width: 47px">
<asp:TextBox ID="txtName" runat="server" Style="position: relative"></asp:TextBox></td>
<td style="width: 140px">
<asp:RequiredFieldValidator ID="rfvName" runat="server" ErrorMessage="RequiredFieldValidator"
Style="position: relative" ControlToValidate="txtName">昵称不能为空</asp:RequiredFieldValidator></td>
</tr>
<tr>
<td style="width: 109px">
密码</td>
<td style="width: 38px">
<asp:TextBox ID="txtPass" runat="server" Style="position: relative" TextMode="Password" Width="148px"></asp:TextBox></td>
<td style="width: 223px">
<asp:RequiredFieldValidator ID="rfvPassrfvPass" runat="server"
Style="position: relative" ControlToValidate="txtPass">密码不能为空</asp:RequiredFieldValidator></td>
</tr>
<tr>
<td style="width: 109px">
确认密码</td>
<td style="width: 38px">
<asp:TextBox ID="txtAffirmPass" runat="server" Style="position: relative; left: 0px; top: 0px;" TextMode="Password" Width="147px"></asp:TextBox></td>
<td style="width: 223px">
<asp:RequiredFieldValidator ID="rfvAffirmPass" runat="server" ErrorMessage="RequiredFieldValidator"
Style="position: relative; left: 1px; top: 7px;" ControlToValidate="txtPass">确认密码不能为空</asp:RequiredFieldValidator><br />
<asp:CompareValidator ID="cvPass" runat="server" ControlToCompare="txtPass" ControlToValidate="txtAffirmPass"
ErrorMessage="CompareValidator" Style="left: 1px; position: relative; top: -10px">两次输入不一致</asp:CompareValidator></td>
</tr>
<tr>
<td style="width: 109px">
性别</td>
<td style="width: 38px">
<asp:RadioButtonList ID="rblSex" runat="server" RepeatDirection="Horizontal" Style="left: 11px;
position: relative; top: 4px">
<asp:ListItem Selected="True">男</asp:ListItem>
<asp:ListItem>女</asp:ListItem>
</asp:RadioButtonList></td>
<td style="width: 223px">
</td>
</tr>
<tr>
<td style="width: 109px">
地址</td>
<td style="width: 38px">
<asp:TextBox ID="txtAddress" runat="server" Style="position: relative"></asp:TextBox></td>
<td style="width: 223px">
</td>
</tr>
<tr>
<td style="width: 109px">
电话</td>
<td style="width: 38px">
<asp:TextBox ID="txtPhone" runat="server" Style="position: relative"></asp:TextBox></td>
<td style="width: 223px">
</td>
</tr>
<tr>
<td style="width: 109px">
Email</td>
<td style="width: 38px">
<asp:TextBox ID="txtEmail" runat="server" Style="position: relative"></asp:TextBox></td>
<td style="width: 223px" colspan="">
<asp:RegularExpressionValidator ID="revEmail" runat="server" ControlToValidate="txtEmail"
ErrorMessage="RegularExpressionValidator" Style="position: relative" ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*">格式不正确</asp:RegularExpressionValidator></td>
</tr>
<tr>
<td style="width: 109px">
选择头像</td>
<td colspan="2">
<asp:UpdatePanel ID="UpdatePanel1" runat="server">
<ContentTemplate>
<asp:ImageButton ID="imgSelect" runat="server" Height="50px" Style="left: 54px;
position: relative; top: 0px" Width="58px" CausesValidation="False" OnClick="imgSelect_Click" />
<div id="divFace" runat="server" style="display:none">
<asp:Panel ID="Panel1" runat="server" Height="111px" Style="left: 0px; position: relative;
top: 2px" Width="368px" BorderWidth="2px" ScrollBars="Auto" >
<asp:DataList ID="dlFace" runat="server" Style="position: relative; left: 16px; top: 15px;" RepeatColumns="10" RepeatDirection="Horizontal" OnItemCommand="dlFace_ItemCommand" DataKeyField="face">
<ItemTemplate>
<asp:ImageButton ID="imgFace" ImageUrl='<%# getUrl(Eval("face")) %>' runat="server" Height="26px" Style="position: relative"
Width="28px" CausesValidation="False" />
</ItemTemplate>
</asp:DataList>
</asp:Panel>
<br />
<br />
</div>
</ContentTemplate>
</asp:UpdatePanel>
</td>
</tr>
<tr>
<td colspan="3">
<br />
<asp:ImageButton ID="btnAccept" runat="server" Height="24px" Style="left: 180px;
position: relative; top: -7px" Width="111px" ImageUrl="~/Images/az-finish.gif" OnClick="btnAccept_Click" /></td>
</tr>
</table>
</div>
</form>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -