⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 userboard_inforup.ascx

📁 1.把"Web"文件夹内的文件拷贝到某个文件夹 2.在IIS中新建站点
💻 ASCX
字号:
<%@ Control Language="c#" AutoEventWireup="false" Codebehind="userboard_inforup.ascx.cs" Inherits="BbsNet.ArticleData.userboard_inforup" TargetSchema="http://schemas.microsoft.com/intellisense/ie5" %>
<FONT face="宋体">
	<TABLE class="a2" id="TABLE1" borderColor="#90b1c7" cellSpacing="1" cellPadding="1" width="760"
		align="center" border="0" runat="server">
		<TR height="25" class="a1">
			<TD colSpan="2">
				<DIV align="center"><STRONG>基本资料修改</STRONG></DIV>
			</TD>
		</TR>
		<TR>
			<TD width="40%" height="25" class="a3"><STRONG>用户名:</STRONG></TD>
			<TD width="60%" class="a6">&nbsp;
				<asp:Label id="username" runat="server"></asp:Label>
				<FONT color="#ff0000">&nbsp; </FONT>
			</TD>
		</TR>
		<TR>
			<TD width="40%" height="25" class="a3"><STRONG>性别:</STRONG><BR>
				请选择您的性别</TD>
			<TD width="60%" class="a6">
				<asp:radiobuttonlist id="usermale" runat="server" Width="104px" RepeatDirection="Horizontal">
					<asp:ListItem Value="男孩" Selected="True">男孩</asp:ListItem>
					<asp:ListItem Value="女孩">女孩</asp:ListItem>
				</asp:radiobuttonlist></TD>
		</TR>
		<TR>
			<TD width="40%" height="25" class="a3"><STRONG>您的Email:[请正确输入邮箱地址,这样你能用到论坛所有功能]</STRONG></TD>
			<TD width="60%" class="a6">&nbsp;
				<asp:textbox id="useremail" runat="server" CssClass="TextBox" Width="184px"></asp:textbox>
				<FONT color="#ff0000">&nbsp;* </FONT>
				<asp:requiredfieldvalidator id="RequiredFieldValidator7" runat="server" ControlToValidate="useremail" ErrorMessage="邮箱不能为空!"></asp:requiredfieldvalidator>
				<asp:regularexpressionvalidator id="RegularExpressionValidator1" runat="server" ControlToValidate="useremail" ErrorMessage="请正确填写邮箱!"
					ValidationExpression="\w+([-+.]\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*"></asp:regularexpressionvalidator></TD>
		</TR>
		<TR>
			<TD height="25" class="a3" width="40%"><STRONG><STRONG>个人</STRONG>主页:</STRONG></TD>
			<TD class="a6" width="60%">&nbsp;
				<asp:textbox id="userhomepage" runat="server" CssClass="TextBox" Width="184px"></asp:textbox></TD>
		</TR>
		<TR>
			<TD width="40%" height="25" class="a3"><STRONG><STRONG>QQ号码</STRONG>:</STRONG></TD>
			<TD width="60%" class="a6">&nbsp;
				<asp:textbox id="useroicq" runat="server" CssClass="TextBox" Width="184px"></asp:textbox></TD>
		</TR>
		<tr>
			<td class="a3" width="40%" height="25"><STRONG>密码问题:</STRONG></td>
			<td class="a6" width="60%">&nbsp;
				<asp:textbox id="question" runat="server" CssClass="TextBox"></asp:textbox>&nbsp;*
				<asp:requiredfieldvalidator id="Requiredfieldvalidator3" runat="server" ErrorMessage="密码问题不能为空!" ControlToValidate="question"></asp:requiredfieldvalidator></td>
		</tr>
		<tr>
			<td class="a3" width="40%" height="25"><STRONG>问题答案:</STRONG></td>
			<td class="a6" width="60%">&nbsp;
				<asp:textbox id="txanswer" runat="server" CssClass="TextBox"></asp:textbox>&nbsp;*
				<asp:requiredfieldvalidator id="Requiredfieldvalidator4" runat="server" ErrorMessage="问题答案不能为空!" ControlToValidate="txanswer"></asp:requiredfieldvalidator></td>
		</tr>
		<tr>
			<td class="a3" width="40%" height="25"><STRONG>个性头像:</STRONG></td>
			<td class="a6" width="60%">&nbsp;
				<asp:textbox id="userface" runat="server" CssClass="TextBox" name="userface" value="face/1.gif"
					readOnly="true"></asp:textbox><INPUT onclick="window.open('userFace2.asp','','width=607,height=415,menubar=no,toolbar=no,scrollbars=yes,location=no')"
					type="button" value="选择头像"></td>
		</tr>
		<TR>
			<TD width="40%" height="25" class="a3">
				<P><STRONG>个性签名<BR>
					</STRONG><!--您可以在帖子的后面加入您自己签名--> [签名不能超过200字符]</P>
			</TD>
			<TD width="60%" class="a6">&nbsp;
				<asp:textbox id="usersign" runat="server" CssClass="TextBox" Width="288px" TextMode="MultiLine"
					Height="80px"></asp:textbox></TD>
		</TR>
		<TR>
			<TD width="40%" height="25" class="a3">&nbsp;
				<DIV align="right">
				</DIV>
			</TD>
			<TD width="60%" class="a6">&nbsp;&nbsp;&nbsp;&nbsp;
				<asp:button id="Button1" runat="server" Text=" 修 改 "></asp:button>
				&nbsp;&nbsp;
			</TD>
		</TR>
	</TABLE>
	<TABLE id="TABLE2" borderColor="#90b1c7" cellSpacing="1" class="a2" cellPadding="1" width="760"
		border="0" runat="server" Visible="false" align="center">
		<TR height="25" class="a1">
			<TD>
				<DIV align="center"><STRONG>资料修改成功</STRONG></DIV>
			</TD>
		</TR>
		<TR height="25" class="a1">
			<TD>
				<asp:HyperLink id="HyperLink1" runat="server" NavigateUrl="../controlpanel2.aspx">基本信息已经成功修改,请返回..</asp:HyperLink></TD>
		</TR>
	</TABLE>
</FONT>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -