📄 updatemsg.aspx
字号:
</script>
</head>
<body style="text-align: center; background-image: url(PICTURE/back.gif);">
<form id="form1" runat="server">
<div style="text-align: center">
<uc1:LeadHead ID="LeadHead1" runat="server" />
<asp:DataList ID="DataList1" runat="server" DataSourceID="SqlDataSource1">
<ItemTemplate>
<table border="0" cellpadding="0" cellspacing="0" style="width: 60px; height: 261px;">
<tr>
<td style="width: 116px; height: 264px">
<table cellspacing="0" cellpadding="0"
border="0" style="width: 320px; text-align: left;">
<tbody>
<tr>
<td colspan="2" style="background-color: #8dcc63;">
<table cellspacing="3" cellpadding="5" border="0" style="width: 100%;">
<tbody>
<tr>
<td style="background-image: url(PICTURE/cardback.gif); background-color: #ffffff; height: 180px;">
<table border="0" style="width: 90%; height: 96px; text-align: center;">
<tbody>
<tr>
<td rowspan="2" style="width: 25%; height: 80px;">
<img class="trans"
alt=""
src="<%# picpath( Eval("PicName")) %>"
style="width: 64px; height: 64px; text-align: right; border-top-style: none; border-right-style: none; border-left-style: none; border-bottom-style: none;"/></td>
<td class="cardfont"
colspan="2" style="width: 75%; height: 35px; text-align: right;">
昵称:<asp:Label ID="Label1" runat="server" Text='<%# Eval("NickName") %>'></asp:Label></td></tr>
<tr>
<td style="width: 50%; height: 40px; text-align: right;">
<table
style="FONT-SIZE: 12pt; FILTER: glow(color=#217112,strength=2); COLOR: white"
border="0">
<tbody>
<tr>
<td><span
style="FONT-SIZE: 11pt"><asp:Label ID="NameLabel" runat="server" Text='<%# Eval("Name") %>'></asp:Label></span></td></tr> </tbody></table></td>
<td class="cardfont"
style="width: 50px;"></td></tr> </tbody></table>
<table cellspacing="0" cellpadding="0"
border="0" style="width: 90%; text-align: center;">
<tbody>
<tr >
<td class="cardfont" style="vertical-align: middle; text-align: left; width: 100%;">
<span ><span >电话:</span><asp:Label ID="TeleLabel" runat="server" Text='<%# Eval("Tele") %>'></asp:Label></span>
</td></tr>
<tr >
<td class="cardfont" style="vertical-align: middle; text-align: left">QQ:<asp:Label ID="QQLabel" runat="server" Text='<%# Eval("QQ") %>'></asp:Label> 手机: <asp:Label ID="MobilePhLabel" runat="server" Text='<%# Eval("MobilePh") %>'></asp:Label></td></tr>
<tr style="height: 18px;">
<td class="cardfont" style="vertical-align: middle; text-align: left; width: 100%;">Email:<a
class="green"
href="mailto:mxkjxh@126.com"><asp:Label ID="EmailLabel" runat="server" Text='<%# Eval("Email") %>'></asp:Label></a></td></tr>
<tr >
<td class="cardfont" style="vertical-align: middle; text-align: left; width: 100%;">
联系地址: <asp:Label ID="Label2" runat="server" Text='<%# Eval("Address") %>'></asp:Label></td></tr>
<tr >
<td class="cardfont "
style="vertical-align: middle; text-align: left; width: 100%;">
邮编:<asp:Label ID="Label3" runat="server" Text='<%# Eval("PostNum") %>'></asp:Label></td></tr> </tbody></table></td></tr> </tbody></table></td></tr>
<tr>
<td style="width: 10px;"></td>
<td style="width: 290px; height: 5px; background-color: #318112;"><space width="1"
type="block"></td></tr> </tbody></table>
</td>
<td style="width: 116px; height: 264px">
<table cellspacing="0" cellpadding="0"
border="0" style="width: 5px; text-align: left;">
<tbody>
<tr>
<td style="width: 8px;"></td></tr>
<tr>
<td style="height: 183px; background-color: #318112;"><br/></td></tr> </tbody></table>
</td>
</tr>
</table>
</ItemTemplate>
</asp:DataList><asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:ChinaRenConnectionString %>"
SelectCommand="SELECT StudentInfo.Name, UserInfo.Sex, UserInfo.Tele, UserInfo.MobilePh, UserInfo.QQ, UserInfo.Email, UserInfo.PicName FROM StudentInfo INNER JOIN UserInfo ON StudentInfo.StudentID = UserInfo.StudentID">
</asp:SqlDataSource>
<table style="width: 976px; height: 226px" border="1" cellpadding="1" cellspacing="1" id="REGTable">
<caption style="background-color: #bcddff" id="CAPTION1" runat="server">
<asp:Image ID="Image1" runat="server" ImageUrl="~/PICTURE/register.gif" /></caption>
<tr>
<td style="width: 600px; height: 22px; text-align: left; background-color: #fff5fb;"><strong>用户名</strong></td>
<td style="width: 600px; text-align: left; height: 22px; background-color: #fff5fb;">
<asp:Label ID="UserID" runat="server" Text="用户名" Width="156px" Font-Bold="True" Font-Size="X-Large" ForeColor="#0000C0"></asp:Label>*
</td>
</tr>
<tr>
<td style="width: 600px; height: 4px; background-color: #fff5fb; text-align: left">
<strong>新密码</strong>(区分大小写,6_10个英,数字符)</td>
<td style="width: 600px; height: 4px; background-color: #fff5fb; text-align: left">
<asp:TextBox ID="Password" runat="server" TextMode="Password" Width="151px"></asp:TextBox>*<asp:RequiredFieldValidator
ID="RequiredFieldValidator2" runat="server" ControlToValidate="Password" ErrorMessage="不为空"
Height="21px"></asp:RequiredFieldValidator>
<asp:RegularExpressionValidator
ID="RegularExpressionValidator2" runat="server" ControlToValidate="Password"
ErrorMessage="密码格式或长度6_10出错" ValidationExpression="^[A-Za-z0-9]{6,10}$"></asp:RegularExpressionValidator></td>
</tr>
<tr>
<td style="width: 600px; height: 4px; background-color: #fff5fb; text-align: left">
<strong>密码确认</strong>(再输一遍,以确定)</td>
<td style="width: 600px; height: 4px; background-color: #fff5fb; text-align: left">
<asp:TextBox ID="CheckPwd" runat="server" TextMode="Password" Width="151px"></asp:TextBox>*
<asp:CompareValidator ID="CompareValidator1" runat="server"
ControlToValidate="CheckPwd" ErrorMessage="密码不一样" ControlToCompare="Password"></asp:CompareValidator></td>
</tr>
<tr>
<td style="width: 600px; height: 4px; background-color: #fff5fb; text-align: left">
<strong>密码提示问题</strong>(请认真写)</td>
<td style="width: 600px; height: 4px; background-color: #fff5fb; text-align: left">
<asp:TextBox ID="Question" runat="server"></asp:TextBox>*<asp:RequiredFieldValidator
ID="RequiredFieldValidator6" runat="server" ControlToValidate="Question" ErrorMessage="不能为空"></asp:RequiredFieldValidator></td>
</tr>
<tr>
<td style="width: 600px; height: 2px; background-color: #fff5fb; text-align: left">
<strong>问题答案</strong>(请认真填写)</td>
<td style="width: 600px; height: 2px; background-color: #fff5fb; text-align: left">
<asp:TextBox ID="Answer" runat="server"></asp:TextBox>*
<asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="Answer"
ErrorMessage="不能为空"></asp:RequiredFieldValidator></td>
</tr>
<tr>
<td style="width: 624px; height: 9px; text-align: left">
<strong>昵称</strong>(请输入4-12个符)</td>
<td style="width: 383px; text-align: left">
<asp:TextBox ID="NickName" runat="server"></asp:TextBox></td>
</tr>
<tr>
<td style="width: 624px; height: 9px; text-align: left">
<strong>性别</strong>(请如实写)</td>
<td style="width: 383px; text-align: left">
<asp:RadioButton ID="Boy" runat="server" Text="帅哥" GroupName="sexchk" /><asp:RadioButton ID="Girl" runat="server" Text="美女 " GroupName="sexchk" /></td>
</tr>
<tr>
<td style="width: 624px; height: 9px; text-align: left">
<strong>头像</strong></td>
<td style="width: 383px; text-align: left">
<asp:DropDownList ID="Figure" runat="server">
</asp:DropDownList><span id="SpanPic"><asp:HyperLink ID="PicLink" runat="server" NavigateUrl="PicList.aspx" Target="_blank">头像列表 <img id="SelPic" alt="" src="HeadPic/image1.gif" style="width: 46px; height: 43px;border-top-style: none; border-right-style: none; border-left-style: none; border-bottom-style: none;" /></asp:HyperLink></span>
</td>
</tr>
<tr>
<td style="width: 624px; height: 9px; text-align: left">
<strong>出生日期</strong>(请如实写)</td>
<td style="width: 383px; text-align: left">
<strong>年</strong><asp:DropDownList ID="Year" runat="server" >
</asp:DropDownList>月
<asp:DropDownList ID="Mounth" runat="server" >
</asp:DropDownList><strong>日</strong>
<span id="Span1">
<asp:DropDownList ID="Day" runat="server"></asp:DropDownList></span></td>
</tr>
<tr>
<td style="width: 624px; height: 16px; text-align: left">
<strong>国籍 </strong>(请实填写)</td>
<td style="width: 383px; text-align: left; height: 16px;">
<strong></strong><asp:DropDownList ID="Country" runat="server" Width="178px" AutoPostBack="True" OnSelectedIndexChanged="Country_SelectedIndexChanged">
</asp:DropDownList></td>
</tr>
<tr>
<td style="width: 624px; text-align: left">
<strong>省份</strong>(请实填写,境外生可不填写)</td>
<td style="width: 383px; text-align: left">
<strong></strong>
<asp:DropDownList ID="Province" runat="server" Width="178px" AutoPostBack="True" OnSelectedIndexChanged="Province_SelectedIndexChanged">
</asp:DropDownList>
</td>
</tr>
<tr>
<td style="width: 624px; height: 25px; text-align: left">
<strong>城市</strong>(请实填写,境外生可不填写)</td>
<td style="width: 383px; height: 25px; text-align: left">
<span id="selspan" runat="server"></span><asp:DropDownList ID="City" runat="server"
Width="176px">
</asp:DropDownList></td>
</tr>
<tr>
<td style="width: 624px; height: 9px; text-align: left">
<strong>联系地址</strong>(请如实填写)</td>
<td style="width: 383px; text-align: left;">
<asp:TextBox ID="Address" runat="server"></asp:TextBox></td>
</tr>
<tr>
<td style="width: 624px; height: 9px; text-align: left">
<strong>邮编</strong>(请如实填写)</td>
<td style="width: 383px; text-align: left;">
<asp:TextBox ID="Post" runat="server"></asp:TextBox>
<asp:RegularExpressionValidator ID="RegularExpressionValidator4" runat="server" ControlToValidate="Post"
ErrorMessage="六位邮编号码" ValidationExpression="\d{6}"></asp:RegularExpressionValidator></td>
</tr>
<tr>
<td style="width: 624px; height: 9px; text-align: left;">
<strong>电话</strong>(请如实填写)</td>
<td style="width: 383px; text-align: left;">
<asp:TextBox ID="Tele" runat="server"></asp:TextBox>
</td>
</tr>
<tr>
<td style="width: 624px; height: 9px; text-align: left;">
<strong>手机</strong>(请如实填写)</td>
<td style="width: 383px; text-align: left;">
<asp:TextBox ID="Mobile" runat="server"></asp:TextBox></td>
</tr>
<tr>
<td style="width: 624px; height: 9px; text-align: left;">
<strong>Email</strong>(请如实填写)</td>
<td style="width: 383px; text-align: left;">
<asp:TextBox ID="Email" runat="server"></asp:TextBox>
<asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" ControlToValidate="Email"
ErrorMessage="认真填写" ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*"></asp:RegularExpressionValidator></td>
</tr>
<tr>
<td style="width: 624px; height: 28px; text-align: left;">
<strong>QQ(MSN)</strong>(请如实填写)</td>
<td style="width: 383px; text-align: left; height: 28px;">
<asp:TextBox ID="QQ" runat="server"></asp:TextBox></td>
</tr>
<tr>
<td style="width: 624px; height: 37px; text-align: left;">
<strong>备注</strong></td>
<td style="width: 383px; height: 37px; text-align: left;">
<asp:TextBox ID="Remark" runat="server" Height="143px" Width="522px" TextMode="MultiLine"> 更新 </asp:TextBox></td>
</tr>
<tr>
<td colspan="2" style="width: 440px; height: 8px; background-color: #bcddff; text-align: left">
</td>
</tr>
</table>
</div>
<asp:Button ID="Update" runat="server" Text=" 更新 " OnClick="Update_Click" />
<asp:Button ID="Reback" runat="server" Text=" 返回 " /><br />
<br />
<br />
<br />
<asp:Label ID="Label8" runat="server" BackColor="#BCDDFF" Height="44px" Text="校友通讯录"
Width="985px"></asp:Label></form>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -