您目前尚未登陆,请选择【登陆】或【注册
首页->行政办公->无忧劳保库存系统源码>>employeesQ.aspx>>源码在线查看
温馨提示:代码在线浏览功能只能做为源码浏览参考,如果想更进一步了解该代码请下载:无忧劳保库存系统源码
当前文件:文件类型 Labor/employeesQ.aspx打开代码结构图
普通视图
		            
1<%@ Page Language="C#" AutoEventWireup="true" CodeFile="employeesQ.aspx.cs" Inherits="employeesQ" %> 2 3<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 4 5<html xmlns="http://www.w3.org/1999/xhtml" > 6<head runat="server"> 7 <title>员工档案查询</title> 8 <link href="Image/Main.css" rel="stylesheet" type="text/css" /> 9 <%-- //屏蔽右键菜单 10--%> <script type="text/javascript"> 11 function document.oncontextmenu() 12 { 13 return false; 14 } 15 </script> 16<%-- //返回后台代码的变量值 17--%> <script language="javascript" type="text/javascript"> 18 function getss(value) 19 { 20 return value; 21 } 22 </script> 23<%-- //设置状态栏的信息 24--%> <script language="javascript" type="text/javascript"> 25 doclock(); 26 function doclock(){ 27 window.setTimeout("doclock()",500); 28 today=new Date(); 29 30 self.status=getss('<%= Session["Loginstatus"] %>')+" |系统当前时间:"+today.toLocaleString(); 31 } 32 33</script> 34</head> 35<body oncontextmenu="window.event.returnValue=false"> 36<form id="form1" runat="server"> 37 <asp:ScriptManager ID="ScriptManager1" runat="server"> 38 </asp:ScriptManager> 39 <asp:UpdatePanel ID="UpdatePanel1" runat="server"> 40 <ContentTemplate> 41 <span style="color: #0000ff"> 42 当权位置:档案查询</span> 43 44 <br /> 45 <br /> 46 <br /> 47 <br /> 48 49 <table style="width: 374px; height: 18px"> 50 <tr> 51 <td style="width: 100px; text-align: right;"> 52 查询依据:</td> 53 <td style="width: 100px; text-align: left;"> 54 <asp:DropDownList ID="DrL" runat="server" AutoPostBack="True"> 55 <asp:ListItem Value="员工编号"></asp:ListItem> 56 <asp:ListItem Value="员工名字"></asp:ListItem> 57 <asp:ListItem Value="部门编号"></asp:ListItem> 58 <asp:ListItem Value="部门名字"></asp:ListItem> 59 </asp:DropDownList></td> 60 <td style="width: 100px; text-align: left;"> 61 <asp:TextBox ID="TxtInfo" runat="server" style="border-bottom:1px solid #000000; 62 border-left:none; border-right:none; 63 border-top:none; 64 padding:0px; width:90px;"></asp:TextBox></td> 65 <td style="width: 100px; text-align: left;"> 66 <asp:Button ID="BtnQuery" runat="server" OnClick="BtnQuery_Click" Text="查询" /></td> 67 </tr> 68 <tr> 69 <td style="text-align: center;" colspan="4"> 70 <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" BackColor="White" 71 BorderColor="White" BorderStyle="Ridge" BorderWidth="2px" CellPadding="3" CellSpacing="1" 72 GridLines="None"> 73 <FooterStyle BackColor="#C6C3C6" ForeColor="Black" /> 74 <RowStyle BackColor="#DEDFDE" ForeColor="Black" /> 75 <Columns> 76 <asp:BoundField DataField="EmpID" HeaderText="员工编号" InsertVisible="False" ReadOnly="True" 77 SortExpression="EmpID" /> 78 <asp:BoundField DataField="EmpName" HeaderText="员工名字" SortExpression="EmpName" /> 79 <asp:BoundField DataField="Sex" HeaderText="性别" SortExpression="Sex" /> 80 <asp:BoundField DataField="BirthDay" HeaderText="出生日期" SortExpression="BirthDay" /> 81 <asp:BoundField DataField="DepartmentID" HeaderText="所在的部门编号" SortExpression="DepartmentID" /> 82 <asp:BoundField DataField="DepartmentName" HeaderText="所在的部门名字" SortExpression="DepartmentName" /> 83 </Columns> 84 <PagerStyle BackColor="#C6C3C6" ForeColor="Black" HorizontalAlign="Right" /> 85 <SelectedRowStyle BackColor="#9471DE" Font-Bold="True" ForeColor="White" /> 86 <HeaderStyle BackColor="#4A3C8C" Font-Bold="True" ForeColor="#E7E7FF" /> 87 </asp:GridView> 88 <asp:Label ID="Label1" runat="server" ForeColor="Red"></asp:Label></td> 89 </tr> 90 </table> 91 </ContentTemplate> 92 </asp:UpdatePanel> 93 94</form> 95</body> 96</html> 97
还没有找到您心仪的内容?请用.net源码大搜捕
代码片断 打包下载该项目完整源码:无忧劳保库存系统源码
51Aspx.com 版权所有 CopyRight © 2000-2008. 京ICP备06046876号