📄 edit.ascx
字号:
<%@ Control Language="vb" AutoEventWireup="false" EnableViewState="false" Inherits="WanerSoft.Controls.UserEdit" TargetSchema="http://schemas.microsoft.com/intellisense/ie5" %>
<%@ Import Namespace="WanerSoft.Cache" %>
<%@ Register TagPrefix="WS" TagName="Header" Src="../Header.ascx" %>
<%@ Register TagPrefix="WS" TagName="Login" Src="../Login.ascx" %>
<%@ Register TagPrefix="WS" TagName="Menu" Src="../Menu.ascx" %>
<%@ Register TagPrefix="WS" TagName="Footer" Src="../Footer.ascx" %>
<WS:Header id="Header" PageTitle=" - 修改注册资料" Runat="Server" />
<WS:Login id="Login" Runat="Server" />
<WS:Menu id="Menu" Runat="Server" />
<table width="770" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">
<tr>
<td height="2"></td>
</tr>
<tr>
<td height="2" bgcolor="#CCCCCC"></td>
</tr>
<tr>
<td height="2"></td>
</tr>
<tr>
<td height="1" bgcolor="#CCCCCC"></td>
</tr>
<tr>
<td height="3"></td>
</tr>
<tr>
<td height="24" valign="middle" bgcolor="#efefef"><!--#include file="Menu.inc" --></td>
</tr>
<tr>
<td height="586" valign="top" class="td4"><table width="99%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td height="5"></td>
</tr>
<tr>
<td> </td>
</tr>
<tr>
<td height="24" bgcolor="#efefef"> <img src="<%=Configs.SkinPath%>/images/arrow_043.gif" width="11" height="11" /> <span class="s1">修改注册资料</span></td>
</tr>
<tr>
<td height="1" bgcolor="#cccccc"></td>
</tr>
<form runat="server">
<tr>
<td height="100"><br />
<table width="98%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td height="24" bgcolor="#efefef"><div align="center" class="redtext">必填项</div></td>
<td height="24" bgcolor="#efefef"> </td>
</tr>
<tr>
<td width="25%" height="26"><div align="right">用户名:</div></td>
<td width="75%" height="26"><asp:TextBox ID="RUserName" style="width:40%;" runat="server" ReadOnly="true" />
<span class="redtext">不能修改</span></td>
</tr>
<tr>
<td height="26"><div align="right">呢称:</div></td>
<td height="26"><asp:TextBox ID="RUserRealName" style="width:40%;" runat="server" ReadOnly="true" />
<span class="redtext">不能修改</span></td>
</tr>
<tr>
<td height="26"><div align="right">密码:</div></td>
<td height="26"><asp:TextBox ID="RUserPass" style="width:40%;" runat="server" TextMode="Password" />
<span class="redtext">请填写您正在使用的密码,用于确认身份。
<asp:Label ID="Meg1" runat="server"></asp:Label>
</span></td>
</tr>
<tr>
<td height="26"><div align="right">电子邮件:</div></td>
<td height="26"><asp:TextBox ID="RUserMail" style="width:40%;" runat="server" />
<asp:RequiredFieldValidator id="R5" ControlToValidate="RUserMail" Display="Static" Width="5%" runat="server">* 很重要,用于找回密码</asp:RequiredFieldValidator>
<asp:RegularExpressionValidator runat="server" ControlToValidate="RUserMail" ErrorMessage="格式不对" ValidationExpression="\w+([-+.]\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*" /></td>
</tr>
<tr>
<td height="26"><div align="right">密码提示问题:</div></td>
<td height="26"><asp:TextBox ID="RUserPassTs" style="width:40%;" runat="server" />
<asp:RequiredFieldValidator id="R6" ControlToValidate="RUserPassTs" Display="Static" Width="30%" runat="server">* 如:问题:我喜欢的动物</asp:RequiredFieldValidator></td>
</tr>
<tr>
<td height="26"><div align="right">提示问题答案:</div></td>
<td height="26"><asp:TextBox ID="RUserPassAs" style="width:40%;" runat="server" />
<asp:RequiredFieldValidator id="R7" ControlToValidate="RUserPassAs" Display="Static" Width="30%" runat="server">* 如:答案:狗</asp:RequiredFieldValidator></td>
</tr>
<tr>
<td height="24" colspan="2"> </td>
</tr>
<tr>
<td height="24" bgcolor="#efefef"><div align="center" class="regtext">选填项</div></td>
<td height="24" bgcolor="#efefef"> </td>
</tr>
<tr>
<td height="26"><div align="right">QQ:</div></td>
<td height="26"><asp:TextBox ID="RUserQQ" style="width:40%;" runat="server" />
<asp:RegularExpressionValidator runat="server" ControlToValidate="RUserQQ" ErrorMessage=" 错误:必须填写数字!" ValidationExpression="\d{1,20}" /></td>
</tr>
<tr>
<td height="26"><div align="right">性别:</div></td>
<td height="26"><asp:RadioButtonList CssClass="checkbox" ID="RUserSex" runat="server" RepeatDirection="Horizontal" RepeatLayout="table">
<asp:ListItem value="True" Selected="True">男</asp:ListItem>
<asp:ListItem value="False">女</asp:ListItem>
</asp:RadioButtonList></td>
</tr>
<tr>
<td height="26"><div align="right">来自:</div></td>
<td height="26"><asp:DropDownList ID="RUserCity" runat="server">
<asp:ListItem value="北京">北京</asp:ListItem>
<asp:ListItem value="上海">上海</asp:ListItem>
<asp:ListItem value="天津">天津</asp:ListItem>
<asp:ListItem value="重庆">重庆</asp:ListItem>
<asp:ListItem value="河北">河北</asp:ListItem>
<asp:ListItem value="山西">山西</asp:ListItem>
<asp:ListItem value="内蒙古">内蒙古</asp:ListItem>
<asp:ListItem value="辽宁">辽宁</asp:ListItem>
<asp:ListItem value="吉林">吉林</asp:ListItem>
<asp:ListItem value="黑龙江">黑龙江</asp:ListItem>
<asp:ListItem value="江苏">江苏</asp:ListItem>
<asp:ListItem value="浙江">浙江</asp:ListItem>
<asp:ListItem value="安徽">安徽</asp:ListItem>
<asp:ListItem value="福建">福建</asp:ListItem>
<asp:ListItem value="江西">江西</asp:ListItem>
<asp:ListItem value="山东">山东</asp:ListItem>
<asp:ListItem value="河南">河南</asp:ListItem>
<asp:ListItem value="湖北">湖北</asp:ListItem>
<asp:ListItem value="湖南">湖南</asp:ListItem>
<asp:ListItem value="广东">广东</asp:ListItem>
<asp:ListItem value="广西">广西</asp:ListItem>
<asp:ListItem value="海南">海南</asp:ListItem>
<asp:ListItem value="四川">四川</asp:ListItem>
<asp:ListItem value="贵州">贵州</asp:ListItem>
<asp:ListItem value="云南">云南</asp:ListItem>
<asp:ListItem value="西藏">西藏</asp:ListItem>
<asp:ListItem value="陕西">陕西</asp:ListItem>
<asp:ListItem value="甘肃">甘肃</asp:ListItem>
<asp:ListItem value="青海">青海</asp:ListItem>
<asp:ListItem value="云南">云南</asp:ListItem>
<asp:ListItem value="宁夏">宁夏</asp:ListItem>
<asp:ListItem value="新疆">新疆</asp:ListItem>
<asp:ListItem value="香港">香港</asp:ListItem>
<asp:ListItem value="澳门">澳门</asp:ListItem>
<asp:ListItem value="台湾">台湾</asp:ListItem>
<asp:ListItem value="其他">其他</asp:ListItem>
</asp:DropDownList></td>
</tr>
<tr>
<td height="26"><div align="right">出生日期:</div></td>
<td height="26"><asp:DropDownList ID="RUserBY" runat="server"></asp:DropDownList>
年
<asp:DropDownList ID="RUserBM" runat="server"></asp:DropDownList>
月
<asp:DropDownList ID="RUserBD" runat="server"></asp:DropDownList>
日
<asp:Label ID="Meg3" runat="server"></asp:Label></td>
</tr>
<tr>
<td height="26"><div align="right">是否公开信息:</div></td>
<td height="26"><asp:RadioButtonList ID="RUserInfoOnoff" runat="server" RepeatDirection="Horizontal" RepeatLayout="table">
<asp:ListItem value="True" Selected="True">是</asp:ListItem>
<asp:ListItem value="False">否</asp:ListItem>
</asp:RadioButtonList></td>
</tr>
<tr>
<td height="24"> </td>
<td height="24"> </td>
</tr>
<tr>
<td height="24" colspan="2"><div align="center">
<asp:Button ID="RegSave" runat="server" Text=" 修改注册资料 " />
</div></td>
</tr>
</table></td>
</tr>
<tr>
<td> </td>
</tr>
</table></td>
</tr>
</form>
</table>
<WS:Footer id="Footer" Runat="Server" />
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -