📄 adminedfb.aspx
字号:
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="AdminEdFB.aspx.cs" Inherits="AdminEdFB" %>
<%@ 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 id="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 style="margin-left :18px;" id="ContentWrapper" class ="FullCenter">
<img src="../Images/RightArrow.ico" alt="" /><span class="GreenClass" style="font-size :16px;"> | </span><span style="font-size :16px;">第二步:填写教育履历</span><br /><br />
<asp:Repeater ID="rptEd" runat="server" OnItemCommand="rptEd_ItemCommand">
<HeaderTemplate >
<table style="width:95%;">
<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('您确定要删除吗?')">删除</asp:LinkButton>
</td>
</tr>
</ItemTemplate>
<FooterTemplate >
</table>
</FooterTemplate>
</asp:Repeater>
<hr style="width:100%;color:Red; " size ="4" /><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>月 至
<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="RequiredFieldValidator1" runat="server" Text="起始年份不为空" Display="Dynamic" ControlToValidate="tbStartSJNian"></asp:RequiredFieldValidator>
<asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" Text="起始年份格式有误" Display="Dynamic" ControlToValidate="tbStartSJNian" ValidationExpression="\s*[1-9][0-9][0-9][0-9]\s*"></asp:RegularExpressionValidator><br />
<asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" Text="截至年份不为空" Display="Dynamic" ControlToValidate="tbEndSJNian"></asp:RequiredFieldValidator>
<asp:RegularExpressionValidator ID="RegularExpressionValidator2" runat="server" Text="截至年份格式有误" Display="Dynamic" ControlToValidate="tbEndSJNian" ValidationExpression="\s*[1-9][0-9][0-9][0-9]\s*"></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="RequiredFieldValidator3" runat="server" Text="毕业院校不为空" Display="Dynamic" ControlToValidate="tbBiYeYuanXiao"></asp:RequiredFieldValidator>
</td>
</tr>
<tr>
<td>
专业:</td>
<td>
<asp:TextBox ID="tbZhuanYe" runat="server" Width="119px"></asp:TextBox>
<br />
<asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" Text="专业不为空" Display="Dynamic" ControlToValidate="tbZhuanYe"></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" />
<asp:Button ID="btNext" runat="server" Text="下一步" Width="53px" OnClick="btNext_Click" CausesValidation="False" /></td>
</tr>
</table>
</div><!--ContentWrapper-->
</td>
</tr>
</table>
</div><!---->
</form>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -