leaveManage.aspx

(开头部分) 3KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

<%@ Page Language="C#" AutoEventWireup="true" CodeFile="leaveManage.aspx.cs" Inherits="leaveManage" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html>
<head>
<title>人事工资管理系统--假条管理</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link href="css/style.css" rel="stylesheet">
</head>

<body bgcolor="#FFCC99" text="#000000">
  <form runat=server>
  <table align=center width=768 cellspacing=0 cellpadding=0>
    <tr>
		  <td align=center bgcolor="#A0A4AC" style="height: 23px">信息查询:</td>
		  <td style="height: 23px" align=left>
              <asp:DropDownList ID="SearchZiduan" runat="server">
                  <asp:ListItem Value="0">选择查询方式</asp:ListItem>
                  <asp:ListItem Value="employeeId">按员工编号查询</asp:ListItem>
                  <asp:ListItem Value="name">按员工姓名查询</asp:ListItem>
              </asp:DropDownList>
              &nbsp; 
              <asp:TextBox ID="KeyWord" runat="server"></asp:TextBox>&nbsp;<asp:Button ID="Button1"
                  runat="server" Text="查询" OnClick="Button1_Click" />&nbsp;
		  </td>
	  </tr>
  </table>
     

          <asp:GridView ID="GridView1" runat="server" AllowPaging="True" AutoGenerateColumns="False"
              BackColor="White" BorderColor="White" BorderStyle="Ridge" BorderWidth="2px" CellPadding="3"
              CellSpacing="1" DataKeyNames="leaveId" DataSourceID="LeaveInfoDataSource" GridLines="None"
              Width="501px" OnPageIndexChanging="GridView1_PageIndexChanging">
              <FooterStyle BackColor="#C6C3C6" ForeColor="Black" />
              <Columns>
                  <asp:BoundField DataField="employeeId" HeaderText="员工编号" SortExpression="employeeId" />
                  <asp:BoundField DataField="name" HeaderText="员工姓名" SortExpression="name" />
                  <asp:BoundField DataField="startTime" HeaderText="开始时间" SortExpression="startTime" />
                  <asp:BoundField DataField="day" HeaderText="请假天数" SortExpression="day" />
                  <asp:BoundField DataField="approvePerson" HeaderText="批准人" SortExpression="approvePerson" />
                  <asp:TemplateField HeaderText="操作">
                <ItemTemplate>
                     <a href='leaveModify.aspx?leaveId=<%# Eval("leaveId") %>'><img src="images/edit.gif" width=12px height=12px border=0px>详细</a>
                        &nbsp;&nbsp;
                     <a href='leaveDel.aspx?leaveId=<%# Eval("leaveId") %>'><img src="images/delete.gif" width=12px height=12px border=0px />删除</a>
                          </ItemTemplate>
            </asp:TemplateField>
              </Columns>
              <RowStyle BackColor="#DEDFDE" ForeColor="Black" />
              <SelectedRowStyle BackColor="#9471DE" Font-Bold="True" ForeColor="White" />
              <PagerStyle BackColor="#C6C3C6" ForeColor="Black" HorizontalAlign="Right" />
              <HeaderStyle BackColor="#4A3C8C" Font-Bold="True" ForeColor="#E7E7FF" />
          </asp:GridView>
          <asp:SqlDataSource ID="LeaveInfoDataSource" runat="server" ConnectionString="Data Source=.;Initial Catalog=SalaryData;Integrated Security=True"
              ProviderName="System.Data.SqlClient" SelectCommand="SELECT [leaveId], [employeeId], [name], [startTime], [day], [approvePerson] FROM [leaveView]">
          </asp:SqlDataSource>
   </form>
  
 
后面还有 2 行代码,解锁后查看完整代码

24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明

AI 解读 AI

登录后可用,每次 10 算力,解读结果公开显示在下面。

还没有人解读过这个文件。