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

📄 admineditygbyid.aspx

📁 明日Asp.net销售管理系统明日Asp.net销售管理系统
💻 ASPX
字号:
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="AdminEditYGById.aspx.cs" Inherits="AdminCenter" %>
<%@ Register TagPrefix="ucl" TagName="AdControl"  Src="~/UserControl/AdminPanel.ascx"%>
<!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>
    <link href="../css/style.css" rel="stylesheet" type="text/css" />
</head>
<body>
    <form id="form1" runat="server">
    <div class="FullCenter">
    <div class="wrapper">
    <table style="width:95%;">
    <tr>
    <td style="width:170px;text-align:left ; vertical-align :top;">
    <ucl:AdControl runat="server" id="AdminPanel1"/>
    </td>
    <td style="vertical-align:top;">
    <div id="RightWrapper" class="Left">
    <table style="width:90%;text-align:left;">
       <tr><td colspan="2">
       <img src="../Images/YGEdit.ico" alt="" style="width:30px;height:30px;" /><span style="color:#FF9552">编辑个人信息</span>
           </td></tr>
       <tr>
       <tr><td style="width:20%;">
           姓名:</td><td>
               <asp:TextBox ID="tbXingMing" runat="server"></asp:TextBox>
               <br />
               <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server"  Text="姓名不为空" Display="Dynamic"  ControlToValidate="tbXingMing" EnableClientScript="False"></asp:RequiredFieldValidator>
               </td></tr>
       <tr><td>
           身份证:</td><td>
               <asp:TextBox ID="tbShenFenZheng" runat="server"></asp:TextBox>
               <br />
               <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server"  Text="身份证不为空" Display="Dynamic"  ControlToValidate="tbShenFenZheng" EnableClientScript="False"></asp:RequiredFieldValidator><br /> 
               <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server"  Text="身份证格式有误" Display="Dynamic" ControlToValidate="tbShenFenZheng" ValidationExpression="\s*\d+\s*" EnableClientScript="False"></asp:RegularExpressionValidator>
               </td></tr>   
       <tr><td>
           性别:</td><td>
               <asp:RadioButtonList ID="rblXingBie" runat="server" RepeatDirection="Horizontal">
                   <asp:ListItem>男</asp:ListItem>
                   <asp:ListItem>女</asp:ListItem>
               </asp:RadioButtonList></td></tr>
       <tr><td style="height: 24px">
           出生年月:</td><td style="height: 24px">
               <asp:DropDownList ID="drlCSNianYueNian" runat="server">
               </asp:DropDownList>年<asp:DropDownList ID="drlCSShiJianYue" 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></td></tr>
       
       <tr><td style="height: 17px">
           电话号码:</td><td style="height: 17px">
               <asp:TextBox ID="tbCellPhone" runat="server"></asp:TextBox>
               <br /> 
               <asp:RegularExpressionValidator ID="RegularExpressionValidator2" runat="server"  Text="电话格式有误" Display="Dynamic" ControlToValidate="tbCellPhone" ValidationExpression="\s*\d+\s*"  EnableClientScript="false"></asp:RegularExpressionValidator>
               </td></tr>
       <tr><td>
           Email:</td><td>
               <asp:TextBox ID="tbEmail" runat="server"></asp:TextBox>
               <br />
               
        <asp:RegularExpressionValidator ID="RegularExpressionValidator3" runat="server"  Text="电子邮件格式有误" Display="Dynamic"  ControlToValidate="tbEmail" ValidationExpression="\S+@\S+\.\S+"  EnableClientScript ="false" ></asp:RegularExpressionValidator>
               </td></tr>
       <tr><td colspan="2" style="text-align :center ;">
           <asp:Button ID="btXiuGai" runat="server" Text="修改" Width="109px" OnClick="btXiuGai_Click"  />
           <asp:Button ID="btShutDown" runat="server" Text="关闭" CausesValidation="False" OnClick="btShutDown_Click" /></td></tr>
       </table><br /><br /><br />
       <div style="width:90%;"><img src="../Images/edFB.ico" style="width:30px;height:30px;"  alt=""/><span style="color:#ff9552">编辑教育履历</span></div>
    <asp:Repeater ID="rptEd" runat="server" OnItemCommand="rptEd_ItemCommand" >
    <HeaderTemplate >
    <table style="width:90%;">
    <tr style="background-color:#00ff00 ; color:#ff0000;">
    <td style="width:20%">时间</td>
    <td style="width:30%">毕业院校</td>
    <td style="width:10%">学历</td>
    <td style="width:20%">专业</td>
    <td style="width:10%">编辑</td>
    <td style="width:10%">删除</td>
    </tr>
    </HeaderTemplate>
    <ItemTemplate>
    <tr onmouseover ="currentcolor=this.style.backgroundColor;this.style.backgroundColor='E8F4FF';"  onmouseout ="this.style.backgroundColor=currentcolor;">
    <td>
    <%# DataBinder.Eval(Container .DataItem ,"StartSJ") %>--<%# DataBinder.Eval(Container .DataItem ,"EndSJ") %>
    </td>
    <td>
    <%# DataBinder.Eval(Container .DataItem ,"BiYeYuanXiao") %>
    </td>
    <td>
    <%# DataBinder.Eval(Container .DataItem ,"XueLi") %>
    </td>
    <td>
    <%# DataBinder.Eval(Container .DataItem ,"ZhuanYe") %>
    </td>
    <td>
    <a href='AdminEdById.aspx?EdId=<%# DataBinder.Eval(Container .DataItem ,"EdId") %>' target="_blank">编辑</a>
    </td>
    <td>
        <asp:LinkButton ID="lbtDelete" runat="server" CommandName="delete" CommandArgument='<%# DataBinder.Eval(Container .DataItem ,"EdId") %>' OnClientClick="return confirm('您确定要删除吗?')" CausesValidation="false" >删除</asp:LinkButton>
    </td>
    </tr>
    </ItemTemplate>
    <FooterTemplate >
    </table>
    </FooterTemplate>
    </asp:Repeater>
    <br /><br />
    <table style="width:65%;text-align:left;" class="GridTable">
     <tr>
     <td colspan="2">
     <img src="../Images/edFB.ico" alt="" style="width:30px;height:30px;" /><span style="color:Green ;">教育履历</span>
     </td>
     </tr>
     <tr>
     <td style="width:23%;">
         时间:</td>
     <td>
         从<asp:TextBox ID="tbStartSJNian" runat="server" Width="49px"></asp:TextBox>年<asp:DropDownList ID="drlStartSJYue" runat="server" Width="38px">
          <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>月 至&nbsp;
         <asp:TextBox ID="tbEndSJNian" runat="server" Width="49px"></asp:TextBox>年<asp:DropDownList ID="drlEndSJYue" runat="server" Width="32px">
          <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>月
         <br />
         <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" Text="起始年份不为空"  Display="Dynamic" ControlToValidate="tbStartSJNian" EnableClientScript="False"></asp:RequiredFieldValidator>
         <asp:RegularExpressionValidator ID="RegularExpressionValidator4" runat="server" Text="起始年份格式有误"  Display="Dynamic" ControlToValidate="tbStartSJNian"  ValidationExpression="\s*[1-9][0-9][0-9][0-9]\s*" EnableClientScript="False"></asp:RegularExpressionValidator><br />
         <asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" Text="截至年份不为空"  Display="Dynamic" ControlToValidate="tbEndSJNian" EnableClientScript="False"></asp:RequiredFieldValidator>
         <asp:RegularExpressionValidator ID="RegularExpressionValidator5" runat="server" Text="截至年份格式有误"  Display="Dynamic" ControlToValidate="tbEndSJNian"  ValidationExpression="\s*[1-9][0-9][0-9][0-9]\s*" EnableClientScript="False"></asp:RegularExpressionValidator>
          
         </td>
     </tr>
     <tr>
     <td style="height: 43px">
         毕业院校:</td>
     <td style="height: 43px">
         <asp:TextBox ID="tbBiYeYuanXiao" runat="server" Width="175px"></asp:TextBox>
         <br />
         <asp:RequiredFieldValidator ID="RequiredFieldValidator5" runat="server" Text="毕业院校不为空" Display="Dynamic" ControlToValidate="tbBiYeYuanXiao" EnableClientScript="False"></asp:RequiredFieldValidator>
         </td>
     </tr>
     <tr>
     <td>
         专业:</td>
     <td>
         <asp:TextBox ID="tbZhuanYe" runat="server" Width="119px"></asp:TextBox>
          <br />
         <asp:RequiredFieldValidator ID="RequiredFieldValidator6" runat="server" Text="专业不为空" Display="Dynamic" ControlToValidate="tbZhuanYe" EnableClientScript="False"></asp:RequiredFieldValidator>
         </td>
     </tr>
     <tr>
     <td>
         学历:</td>
     <td>
         <asp:DropDownList ID="drlXueLi" runat="server">
         <asp:ListItem>大专</asp:ListItem>
         <asp:ListItem>本科</asp:ListItem>
         <asp:ListItem>硕士</asp:ListItem>
         <asp:ListItem>博士</asp:ListItem>
         <asp:ListItem>其它</asp:ListItem>
         </asp:DropDownList></td>
     </tr>
     <tr>
     <td>
         证书编号:</td>
     <td>
         <asp:TextBox ID="tbZhenShuBH" runat="server" Width="175px"></asp:TextBox></td>
     </tr>
     <tr>
     <td colspan="2" style="text-align :center ;">
         <asp:Button ID="btAdd" runat="server" Text="添加" Width="53px" OnClick="btAdd_Click" />&nbsp;
         </td>
     </tr>
     </table>
    </div><!--RightWrapper-->
    </td>
    </tr>
    </table>
    </div>
    </div>
    </form>
</body>
</html>

⌨️ 快捷键说明

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