works/Manage2.aspx

(完整代码) 2KB

<%@ Page Language="C#" MasterPageFile="~/main.master" AutoEventWireup="true" CodeFile="Manage2.aspx.cs" Inherits="works_Manage" Title="" %>


<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<div id="widget table-widget">
<div class="pageTitle" style="font-size:14px;"><b>管理加班</b></div>

<div class="pageColumn">      
      <table style="width: 100%;" cellpadding="2" cellspacing="1" class="border">
    <tr>
        <td align="center" class="tdbg">
<strong> 员工编号:</strong><asp:TextBox ID="txt_staffNo" runat="server" width="200"></asp:TextBox>

        <asp:Button ID="btnSearch" runat="server" Text="查询"  OnClick="btnSearch_Click" ></asp:Button>   
        </td>
    </tr>
</table>        
  <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" DataKeyNames="workId" Width="100%"  AllowPaging="True"  GridLines="None" onpageindexchanging="GridView1_PageIndexChanging" >
        <RowStyle Height="25px" HorizontalAlign="Center" />
        <Columns>       
                <asp:TemplateField ControlStyle-Width="30" HeaderText="选择"    >
                    <ItemTemplate>
                        <asp:CheckBox ID="DeleteThis"  runat="server" />
                    </ItemTemplate>
                    <ItemStyle Width="30px" />
                </asp:TemplateField> 
            <asp:BoundField HeaderText="加班人" DataField="staffName" />
            <asp:BoundField HeaderText="事由" DataField="workTitle" />
             <asp:TemplateField HeaderText="加班内容">              
                <ItemTemplate>
                    <%#StringOper.Substr(Eval("workMemo").ToString(),30) %>
                </ItemTemplate>
                <ItemStyle HorizontalAlign="Left" />
            </asp:TemplateField>
            <asp:BoundField HeaderText="记录时间" DataField="workTime" />
            <asp:HyperLinkField   DataNavigateUrlFormatString="Detail.aspx?id={0}" DataNavigateUrlFields="workId" HeaderText="详细" Text="详细"  >
                <ItemStyle Width="50px" />
            </asp:HyperLinkField>
               
        </Columns>
        <HeaderStyle Height="27px" />
        <PagerStyle HorizontalAlign="Center" />
    </asp:GridView>

    <div class="pageButton">
    
    <tr>                    
<td align="left">
    <asp:Button ID="btnDelete" runat="server" Text="删除" OnClick="btnDelete_Click"/>   
                   
</td>
</tr>

    </div>
</div>
</div>
</asp:Content>

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

AI 解读 AI

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

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