card_time.aspx
上传用户:xrffrp
上传日期:2022-03-25
资源大小:22155k
文件大小:2k
源码类别:

OA系统

开发平台:

ASP/ASPX

  1. <%@ Page Language="C#" AutoEventWireup="true" CodeFile="card_time.aspx.cs" Inherits="web_personnel_curricula_vitae_card_time" %>
  2. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  3. <html xmlns="http://www.w3.org/1999/xhtml" >
  4. <head runat="server">
  5.     <title>无标题页</title>
  6. </head>
  7. <body>
  8.     <form id="form1" runat="server">
  9.     <div>
  10.         <asp:GridView ID="work_time" runat="server" AllowPaging="True" AllowSorting="True"
  11.             AutoGenerateColumns="False" BackColor="White" BorderColor="#999999" BorderStyle="None"
  12.             BorderWidth="1px" CellPadding="3" DataSourceID="SqlDataSource1" GridLines="Vertical"
  13.             Width="572px">
  14.             <FooterStyle BackColor="#CCCCCC" ForeColor="Black" />
  15.             <Columns>
  16.                 <asp:BoundField DataField="card_date" HeaderText="上班日期" SortExpression="card_date" />
  17.                 <asp:BoundField DataField="card_t" HeaderText="上班時間" SortExpression="card_t" />
  18.                 <asp:BoundField DataField="card_status" HeaderText="狀態" SortExpression="card_status" />
  19.             </Columns>
  20.             <RowStyle BackColor="#EEEEEE" ForeColor="Black" />
  21.             <SelectedRowStyle BackColor="#008A8C" Font-Bold="True" ForeColor="White" />
  22.             <PagerStyle BackColor="#999999" ForeColor="Black" HorizontalAlign="Center" />
  23.             <HeaderStyle BackColor="#000084" Font-Bold="True" ForeColor="White" />
  24.             <AlternatingRowStyle BackColor="#DCDCDC" />
  25.         </asp:GridView>
  26.         <asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:oaConnection %>"
  27.             SelectCommand="select id,emp_card_no,card_date,card_t,card_status from oa_card_time ">
  28.         </asp:SqlDataSource>
  29.     
  30.     </div>
  31.     </form>
  32. </body>
  33. </html>