📄 adduser.aspx
字号:
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="AddUser.aspx.cs" Inherits="AddUser" %>
<!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>
<style type="text/css">
.style1
{
height: 98px;
}
</style>
</head>
<body>
<form id="form1" runat="server">
<div>
<fieldset><legend>添加用户</legend>
<table style="width:100%;">
<tr>
<td style="border-style: inset" >
<asp:LinkButton ID="BaseUserAdd" runat="server" onclick="BaseUserAdd_Click" >用户基本信息</asp:LinkButton>
</td>
<td style="border-style: inset">
<asp:LinkButton ID="NextUserAdd" runat="server" onclick="NextUserAdd_Click" >用户详细信息</asp:LinkButton>
</td>
<td>
</td>
</tr>
<tr>
<td colspan="3">
<asp:Panel ID="Panel1" runat="server">
<asp:MultiView ID="MultiView1" runat="server" Visible="true" ActiveViewIndex="0">
<asp:View ID="View1" runat="server" onunload="View1_Unload" >
<table>
<tr>
<td align="left" colspan="3">
</td>
</tr>
<tr>
<td align="right">
用户名:</td>
<td align="left">
<asp:TextBox ID="txtName" runat="server" Height="25px"
Width="150px"></asp:TextBox>
</td>
<td>
<asp:Label ID="labName" runat="server"></asp:Label>
</td>
</tr>
<tr>
<td align="right">
</td>
<td align="left">
<asp:Button ID="btnCheckName" runat="server" onclick="btnCheckName_Click"
style="margin-top: 2px" Text="检查用户名是否存在" />
</td>
<td>
</asp:Label>
</td>
</tr>
<tr>
<td align="right">
密码:</td>
<td align="left">
<asp:TextBox ID="txtPasswordr" runat="server" Height="25px"
></asp:TextBox>
</td>
<td>
<asp:Label ID="labPassword" runat="server"></asp:Label>
</td>
</tr>
<tr>
<td align="right">
确认密码:</td>
<td align="left">
<asp:TextBox ID="password2" runat="server" Height="25px"
Width="150px"></asp:TextBox>
</td>
<td>
<asp:Label ID="labPassword2" runat="server"></asp:Label>
</td>
</tr>
<tr>
<td align="right">
组织部门:</td>
<td align="left">
<asp:DropDownList ID="orgDropDownList" runat="server">
</asp:DropDownList>
</td>
<td align="right">
</td>
</tr>
<tr>
<td align="right">
</td>
<td align="left">
<asp:Button ID="btnSure" runat="server" Text="添加" Width="75px"
onclick="btnSure_Click" />
<asp:Button ID="btnCencel" runat="server" Text="取消" Width="75px"
onclick="btnCencel_Click" />
</td>
<td>
</td>
</tr>
<tr>
<td align="center" colspan="3">
</td>
</tr>
</table>
</asp:View>
<asp:View ID="View2" runat="server">
<table>
<tr>
<td align="left" colspan="3">
</td>
</tr>
<tr>
<td align="right">
FirstName:</td>
<td align="left">
<asp:TextBox ID="txtFirstName" runat="server" Height="25px" Width="150px"></asp:TextBox>
</td>
<td>
</td>
</tr>
<tr>
<td align="right">
LastName:</td>
<td align="left">
<asp:TextBox ID="txtLastName" runat="server" Height="25px"
Width="150px"></asp:TextBox>
</td>
<td>
</td>
</tr>
<tr>
<td align="right">
出生日期:</td>
<td align="left">
<asp:TextBox ID="txtBirth" runat="server" Height="25px"
Width="150px"></asp:TextBox>
</td>
<td>
</td>
</tr>
<tr>
<td align="right">
城市:</td>
<td align="left">
<asp:TextBox ID="txtCity" runat="server" Height="25px"
Width="150px"></asp:TextBox>
</td>
<td>
</td>
</tr>
<tr>
<td align="right">
地址:</td>
<td align="left">
<asp:TextBox ID="txtAddress" runat="server" Height="25px" Width="150px"></asp:TextBox>
</td>
<td>
</td>
</tr>
<tr>
<td align="right">
开始雇佣日期:</td>
<td align="left">
<asp:TextBox ID="txtHireDate" runat="server" Height="25px"
Width="150px"></asp:TextBox>
</td>
<td>
</td>
</tr>
<tr>
<td align="right">
结束雇佣日期:</td>
<td align="left">
<asp:TextBox ID="txtHireDate2" runat="server" Height="25px"
Width="150px"></asp:TextBox>
</td>
<td>
</td>
</tr>
<tr>
<td align="right" class="style1">
备注:</td>
<td align="left" class="style1">
<asp:TextBox ID="txtNote" runat="server" Height="90px"
Width="160px" TextMode="MultiLine"></asp:TextBox>
</td>
<td class="style1">
</td>
</tr>
<tr>
<td align="right">
</td>
<td align="left">
<asp:Button ID="btnReturn" runat="server" Text="上一步" Width="75px"
onclick="btnReturn_Click"/>
<asp:Button ID="Result" runat="server" Font-Overline="False" Height="21px"
onclick="Result_Click" Text="完成" Width="75px" />
</td>
<td>
</td>
</tr>
</tr>
</table>
</asp:View>
</asp:MultiView>
</asp:Panel>
</td>
</tr>
</table>
</fieldset>
</div>
</form>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -