📄 emp_info_edit.aspx
字号:
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Emp_Info_Edit.aspx.cs" Inherits="Emp_Info_Edit" %>
<!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/css.css" rel="stylesheet" type="text/css" />
</head>
<body>
<form id="form1" runat="server">
<div align="center">
<br />
<br />
<br />
<asp:Panel ID="Panel1" runat="server" Height="325px" Width="626px">
<div style="text-align: center">
<table border="0" style="width: 546px" id="table10">
<caption>
</caption>
<tr >
<td align="center" style="height: 24px; width: 312px;" class="karl">
所在部门:<asp:DropDownList ID="dropDep" runat="server" DataSourceID="SqlDataSource1"
DataTextField="Dep_Name" DataValueField="Dep_Name" Width="125px" OnSelectedIndexChanged="dropDep_SelectedIndexChanged">
</asp:DropDownList>
</td class="karl">
<td align="left" style="height: 24px; width: 200px;" class="karl">
员工姓名:<asp:TextBox ID="txtName" runat="server" Width="123px"></asp:TextBox></td>
</tr>
<tr >
<td align="center" style="height: 25px; width: 312px;" class="karl">
出生日期:<asp:TextBox ID="txtBirthday" runat="server" Width="123px"></asp:TextBox></td>
<td align="left" style="height: 25px; width: 200px;" class="karl">
性 别:<asp:RadioButton ID="rbtnMale" runat="server" GroupName="sex"
Text="男" Width="56px" />
<asp:RadioButton ID="rbtnFemale" runat="server" GroupName="sex" Text="女" Width="56px" /></td>
</tr>
<tr >
<td align="center" style="width: 312px" class="karl">
入职时间:<asp:TextBox ID="txtStartTime" runat="server" Width="123px"></asp:TextBox></td>
<td align="left" style="width: 200px" class="karl">
离职时间:<asp:TextBox ID="txtEndTime" runat="server" Width="123px"></asp:TextBox></td>
</tr>
<tr >
<td align="center" style="width: 312px" class="karl">
联系地址:<asp:TextBox ID="txtAddress" runat="server" Width="123px"></asp:TextBox></td>
<td align="left" style="width: 200px" class="karl">
联系电话:<asp:TextBox ID="txtTel" runat="server" Width="123px"></asp:TextBox></td>
</tr>
<tr >
<td style="height: 26px; width: 312px;" align="center" class="karl">
电子邮件:<asp:TextBox ID="txtEmail" runat="server" Width="123px"></asp:TextBox></td>
<td style="height: 26px; width: 200px;" align="left" class="karl">
ICQ 号码:<asp:TextBox ID="txtQQ" runat="server" Width="127px"></asp:TextBox></td>
</tr>
<tr>
<td style="height: 29px" colspan="2" class="karl">
<asp:ImageButton ID="btnModify" runat="server" ImageUrl="~/Images/修改.gif" OnClick="btnModify_Click" />
<asp:ImageButton ID="btnReset" runat="server"
CausesValidation="False" ImageUrl="~/Images/重设.gif" /></td>
</tr>
</table>
</div>
<asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:conString %>"
SelectCommand="SELECT [Dep_Name] FROM [Department]"></asp:SqlDataSource>
</asp:Panel>
</div>
</form>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -