📄 adduser.aspx
字号:
<%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="AddUser.aspx.cs" Inherits="IndividualOperation_Administrator_AddUser" Title="EMR-电子病历系统->管理员->添加用户" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<script language="javascript" type="text/javascript">
function Button2_onclick() {
var userName=form1.TextBoxUserName.value;
window.alert(userName);
}
function ButtonCancel_onclick() {
history.back(-1);
}
</script>
<div style="z-index: 101; left: 7px; width: 500px; position: relative; top: 8px;
text-align: center">
<table style="text-align: left" class="tableb">
<tr>
<td colspan="2" style="height: 30px; text-align: center" class="title">
<span>填写我的个人信息</span></td>
</tr>
<tr style="font-size: 12pt">
<td style="width: 161px; text-align:left" class="text">
用户名:</td>
<td style="width: 323px; text-align: left">
<asp:TextBox ID="TextBoxUserName" runat="server" Width="180px"></asp:TextBox>
<asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="TextBoxUserName"
ErrorMessage="*"></asp:RequiredFieldValidator>
<span class="link"><a href="#" onclick="javascript:var userName=document.getElementById('ctl00$ContentPlaceHolder1$TextBoxUserName').value;newwin2=window.open('<%=Request.ApplicationPath %>/Src/CommonOperation/Check/CheckUserName.aspx?UserName='+userName,'newwin2','height=169,width=232,status=no,toolbar=no,menubar=no,scrollbars=no,resizable=no');newwin2.moveTo(300,200);newwin2.focus();return false;">检测用户名</a></span></td>
</tr>
<tr style="font-size: 12pt">
<td style="width: 161px; text-align:left" class="text">
密码:</td>
<td style="width: 323px; text-align: left">
<asp:TextBox ID="TextBoxPassWord1" runat="server" TextMode="Password" Width="180px"></asp:TextBox>
<asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="TextBoxPassWord1"
ErrorMessage="*"></asp:RequiredFieldValidator>
<asp:CompareValidator ID="CompareValidator2" runat="server" ControlToCompare="TextBoxPassWord2"
ControlToValidate="TextBoxPassWord1" ErrorMessage="**"></asp:CompareValidator>
</td>
</tr>
<tr style="font-size: 12pt; color: #000000">
<td style="width: 161px; text-align:left" class="text">
重复密码:</td>
<td style="width: 323px; text-align: left">
<asp:TextBox ID="TextBoxPassWord2" runat="server" TextMode="Password" Width="180px"></asp:TextBox>
<asp:RequiredFieldValidator ID="RequiredFieldValidator9" runat="server" ControlToValidate="TextBoxPassWord2"
ErrorMessage="*"></asp:RequiredFieldValidator>
</td>
</tr>
<tr style="font-size: 12pt; color: #000000">
<td style="width: 161px; text-align:left" class="text">
工作号:</td>
<td style="width: 323px; text-align: left">
<asp:TextBox ID="TextBoxUserID" runat="server" Width="180px"></asp:TextBox>
<asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ControlToValidate="TextBoxUserID"
ErrorMessage="*"></asp:RequiredFieldValidator></td>
</tr>
<tr style="font-size: 12pt; color: #000000">
<td style="width: 161px; text-align:left" class="text">
姓名:</td>
<td style="width: 323px; text-align: left">
<asp:TextBox ID="TextBoxRealName" runat="server" Width="180px"></asp:TextBox>
<asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" ControlToValidate="TextBoxRealName"
ErrorMessage="*"></asp:RequiredFieldValidator></td>
</tr>
<tr style="font-size: 12pt; color: #000000">
<td style="width: 161px; text-align:left; height: 24px;" class="text">
性别/职务:</td>
<td style="width: 323px; text-align: left; height: 24px;">
<asp:DropDownList ID="DropDownListSex" runat="server" Width="80px">
<asp:ListItem Value="0">女</asp:ListItem>
<asp:ListItem Value="1">男</asp:ListItem>
</asp:DropDownList>
<asp:DropDownList ID="DropDownListRole" runat="server">
<asp:ListItem Value="0">医生</asp:ListItem>
<asp:ListItem Value="1">护士</asp:ListItem>
<asp:ListItem Value="2">医院领导</asp:ListItem>
<asp:ListItem Value="3">管理员</asp:ListItem>
</asp:DropDownList>
</td>
</tr>
<tr style="font-size: 12pt">
<td style="width: 161px; height: 23px; text-align:left" class="text">
生日:</td>
<td style="width: 323px; height: 23px; text-align: left">
<asp:DropDownList ID="DropDownListYear" runat="server">
</asp:DropDownList>
年<asp:DropDownList ID="DropDownListMonth" runat="server">
<asp:ListItem>1</asp:ListItem>
<asp:ListItem>2</asp:ListItem>
<asp:ListItem>3</asp:ListItem>
<asp:ListItem>4</asp:ListItem>
<asp:ListItem>5</asp:ListItem>
<asp:ListItem>6</asp:ListItem>
<asp:ListItem>7</asp:ListItem>
<asp:ListItem>8</asp:ListItem>
<asp:ListItem>9</asp:ListItem>
<asp:ListItem>10</asp:ListItem>
<asp:ListItem>11</asp:ListItem>
<asp:ListItem>12</asp:ListItem>
</asp:DropDownList>
月<asp:DropDownList ID="DropDownListDay" runat="server">
<asp:ListItem>1</asp:ListItem>
<asp:ListItem>2</asp:ListItem>
<asp:ListItem>3</asp:ListItem>
<asp:ListItem>4</asp:ListItem>
<asp:ListItem>5</asp:ListItem>
<asp:ListItem>6</asp:ListItem>
<asp:ListItem>7</asp:ListItem>
<asp:ListItem>8</asp:ListItem>
<asp:ListItem>9</asp:ListItem>
<asp:ListItem>10</asp:ListItem>
<asp:ListItem>11</asp:ListItem>
<asp:ListItem>12</asp:ListItem>
<asp:ListItem>13</asp:ListItem>
<asp:ListItem>14</asp:ListItem>
<asp:ListItem>15</asp:ListItem>
<asp:ListItem>16</asp:ListItem>
<asp:ListItem>17</asp:ListItem>
<asp:ListItem>18</asp:ListItem>
<asp:ListItem>19</asp:ListItem>
<asp:ListItem>20</asp:ListItem>
<asp:ListItem>21</asp:ListItem>
<asp:ListItem>22</asp:ListItem>
<asp:ListItem>23</asp:ListItem>
<asp:ListItem>24</asp:ListItem>
<asp:ListItem>25</asp:ListItem>
<asp:ListItem>26</asp:ListItem>
<asp:ListItem>27</asp:ListItem>
<asp:ListItem>28</asp:ListItem>
<asp:ListItem>29</asp:ListItem>
<asp:ListItem>30</asp:ListItem>
<asp:ListItem>31</asp:ListItem>
</asp:DropDownList>日</td>
</tr>
<tr style="font-size: 12pt">
<td style="width: 161px; text-align:left" class="text">
签名密码:</td>
<td style="width: 323px; text-align: left">
<asp:TextBox ID="TextBoxUderWritePWD1" runat="server" TextMode="Password" Width="180px"></asp:TextBox>
<asp:RequiredFieldValidator ID="RequiredFieldValidator5" runat="server" ControlToValidate="TextBoxUderWritePWD1"
ErrorMessage="*"></asp:RequiredFieldValidator>
<asp:CompareValidator ID="CompareValidator1" runat="server" ControlToCompare="TextBoxUderWritePWD2"
ControlToValidate="TextBoxUderWritePWD1" ErrorMessage="**"></asp:CompareValidator></td>
</tr>
<tr style="font-size: 12pt">
<td style="width: 161px; height: 14px; text-align:left" class="text">
重复密码:</td>
<td style="width: 323px; height: 14px; text-align: left">
<asp:TextBox ID="TextBoxUderWritePWD2" runat="server" TextMode="Password" Width="180px"></asp:TextBox>
<asp:RequiredFieldValidator ID="RequiredFieldValidator6" runat="server" ControlToValidate="TextBoxUderWritePWD2"
ErrorMessage="*"></asp:RequiredFieldValidator></td>
</tr>
<tr style="font-size: 12pt">
<td style="width: 161px; text-align:left" class="text">
地址:</td>
<td style="width: 323px; text-align: left">
<asp:TextBox ID="TextBoxAddress" runat="server" Width="180px"></asp:TextBox></td>
</tr>
<tr style="font-size: 12pt">
<td style="width: 161px; text-align:left" class="text">
电话号码:</td>
<td style="width: 323px; text-align: left">
<asp:TextBox ID="TextBoxTelephone" runat="server" Width="180px"></asp:TextBox></td>
</tr>
<tr style="font-size: 12pt">
<td style="width: 161px; text-align:left; height: 26px;" class="text">
邮箱地址:</td>
<td style="width: 323px; height: 26px;">
<asp:TextBox ID="TextBoxEmailAddress" runat="server" Width="180px"></asp:TextBox>
<asp:RequiredFieldValidator ID="RequiredFieldValidator8" runat="server" ControlToValidate="TextBoxEmailAddress"
ErrorMessage="*"></asp:RequiredFieldValidator>
<asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" ErrorMessage="*" ControlToValidate="TextBoxEmailAddress" ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*"></asp:RegularExpressionValidator><span class="link"><a href="#" onclick="javascript:var emailAddress=document.getElementById('ctl00$ContentPlaceHolder1$TextBoxEmailAddress').value;newwin2=window.open('<%=Request.ApplicationPath %>/Src/CommonOperation/Check/CheckEmailAddress.aspx?EmailAddress='+emailAddress,'newwin2','height=169,width=232,status=no,toolbar=no,menubar=no,scrollbars=no,resizable=no');newwin2.moveTo(300,200);newwin2.focus();return false;">检测邮箱</a></span></td>
</tr>
<tr style="font-size: 12pt">
<td style="width: 161px; text-align:left" class="text">
提示问题:</td>
<td style="width: 323px; text-align: left">
<asp:TextBox ID="TextBoxQuestion" runat="server" Width="180px"></asp:TextBox></td>
</tr>
<tr style="font-size: 12pt">
<td style="width: 161px; height: 26px; text-align:left" class="text">
回答问题:</td>
<td style="width: 323px; height: 26px;">
<asp:TextBox ID="TextBoxAnswer" runat="server" Width="180px"></asp:TextBox></td>
</tr>
<tr style="font-size: 12pt">
<td style="width: 161px; text-align:left" class="text">
照片路径:</td>
<td style="width: 323px;text-align: left">
<asp:FileUpload ID="File1" runat="server" Width="253px" /></td>
</tr>
<tr style="font-size: 12pt">
<td style="width: 161px; height: 26px;text-align: left" class="text">
身份证号:</td>
<td style="width: 323px; height: 26px;">
<asp:TextBox ID="TextBoxIdentItycardNum" runat="server" Width="180px"></asp:TextBox>
<asp:RequiredFieldValidator ID="RequiredFieldValidator7" runat="server" ControlToValidate="TextBoxIdentItycardNum"
ErrorMessage="*"></asp:RequiredFieldValidator></td>
</tr>
<tr>
<td colspan="2">
<asp:Button ID="ButtonSave" runat="server" OnClick="UpdateButton_Click" Text="添加"
Width="47px" CssClass="button"/>
<input id="ButtonCancel" class="button" onclick="return ButtonCancel_onclick()" style="width: 54px"
type="button" value="取消" /><br />
<br />
</td>
</tr>
</table>
<br />
</div>
</asp:Content>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -