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

📄 usermod.aspx

📁 ASP.NET的一些开发实例,有论坛管理系统等
💻 ASPX
字号:
<%@ Page language="c#" Codebehind="UserMod.aspx.cs" AutoEventWireup="false" Inherits="WorkGroupManager.user.UserMod" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
	<HEAD>
		<title>用户修改</title>
		<meta name="GENERATOR" Content="Microsoft Visual Studio 7.0">
		<meta name="CODE_LANGUAGE" Content="C#">
		<meta name="vs_defaultClientScript" content="JavaScript">
		<meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5">
		<LINK href="../CSS/ADCC.css" type="text/css" rel="stylesheet">
		<script language="javascript" src="../DataCheck.js"></script>
		<script language="javascript" event="onclick" for="datacheck">
			var cbpsw='<%=ViewState["chpsw"]%>';
			if(cbpsw=="1")
			{
				if(Empty("tbPassword","密码") == false) return false;
				if(Empty("tbpw","验证密码") == false) return false;	
			}
			var ps=document.all['tbPassword'].value;
			var ps2=document.all['tbpw'].value;
			if(ps!=ps2)
			{
				alert('密码验证不正确,请重新输入!');
				document.all['tbpw'].focus();
				return false;
			}
		</script>
	</HEAD>
	<body leftmargin="0" topmargin="0">
		<form id="UserMod" method="post" runat="server">
			<FONT face="宋体">
				<table height="249" cellSpacing="0" cellPadding="0" width="498" border="0" style="WIDTH: 498px; HEIGHT: 249px">
					<TR>
						<TD vAlign="middle" height="23">
							<TABLE id="Table5" cellSpacing="0" cellPadding="0" width="100%" border="0">
								<TR>
									<TD style="WIDTH: 37px" vAlign="top" colSpan="1" rowSpan="1"><IMG src="../pics/tc-1.jpg"></TD>
									<TD vAlign="bottom">
										<P align="center"><FONT class="topic">:::::&nbsp;用户修改 :::::</FONT></P>
									</TD>
									<TD bgColor="white"><IMG src="../pics/tc-2.jpg"><IMG src="../pics/tc-3.jpg"></TD>
									<TD bgColor="white"></TD>
								</TR>
							</TABLE>
						</TD>
					</TR>
					<tr>
						<td>
							<HR width="96%" color="#ffffff" SIZE="1">
							<table style="WIDTH: 487px; COLOR: white; HEIGHT: 106px" cellSpacing="0" cellPadding="0"
								width="487" border="0">
								<tr>
									<td style="WIDTH: 123px" align="right" width="123" height="30">用户名:
									</td>
									<TD align="left" width="250"><FONT face="宋体"></FONT>
										<asp:Label id="lbName" runat="server" Width="119px"></asp:Label></TD>
								</tr>
								<tr>
									<td style="WIDTH: 123px; HEIGHT: 1px" align="right" width="123" height="1">密码:
									</td>
									<TD align="left" width="250" style="HEIGHT: 1px">
										<asp:textbox id="tbPassword" runat="server" Width="124px" TextMode="Password" Enabled="False"></asp:textbox>
										<asp:CheckBox id="cbpsw" runat="server" Text="修改密码" AutoPostBack="True"></asp:CheckBox></TD>
								</tr>
								<tr>
									<td style="WIDTH: 123px" align="right" width="123" height="30">确认密码:
									</td>
									<TD align="left" width="250"><FONT face="宋体"></FONT>
										<asp:textbox id="tbpw" runat="server" Width="124px" TextMode="Password" Enabled="False"></asp:textbox>
									</TD>
								</tr>
								<tr>
									<td style="WIDTH: 123px" align="right" width="123" height="30">身份:
									</td>
									<TD align="left" width="250"><FONT face="宋体"></FONT>
										<asp:DropDownList id="ddlStation" runat="server" Width="124px">
											<asp:ListItem Value="0" Selected="True">项目成员</asp:ListItem>
											<asp:ListItem Value="1">项目经理</asp:ListItem>
											<asp:ListItem Value="2">系统管理员</asp:ListItem>
										</asp:DropDownList>
									</TD>
								</tr>
							</table>
							<HR width="96%" color="#ffffff" SIZE="1">
						</td>
					</tr>
					<TR>
						<TD vAlign="bottom"><FONT face="宋体"></FONT></TD>
					</TR>
					<TR>
						<TD height="31">
							<TABLE id="Table4" cellSpacing="0" cellPadding="0" width="100%" border="0">
								<TR>
									<TD width="1" style="WIDTH: 1px; HEIGHT: 31px"><FONT face="宋体"></FONT></TD>
									<TD width="305" background="../pics/tanchu-d.jpg" style="WIDTH: 305px; HEIGHT: 31px"></TD>
									<TD width="89" background="../pics/tanchu-temp.jpg" style="HEIGHT: 31px">
										<P align="center">
											<asp:LinkButton id="datacheck" runat="server">确  定</asp:LinkButton>&nbsp;
										</P>
									</TD>
									<TD width="89" background="../pics/tanchu-temp.jpg" style="HEIGHT: 31px">
										<P align="center"><A href="javascript:window.close()">取 消</A></P>
									</TD>
									<TD width="10" background="../pics/tanchu-d.jpg" style="HEIGHT: 31px"></TD>
								</TR>
							</TABLE>
						</TD>
					</TR>
				</table>
			</FONT>
		</form>
	</body>
</HTML>

⌨️ 快捷键说明

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