attendancDataList.aspx 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  1. <%@ Page Language="C#" AutoEventWireup="true" CodeBehind="attendancDataList.aspx.cs"
  2. Inherits="OA2014.users.attendancDataList" %>
  3. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  4. <html xmlns="http://www.w3.org/1999/xhtml">
  5. <head id="Head1" runat="server">
  6. <title>考勤查看</title>
  7. <link href="../css/all.css" rel="stylesheet" type="text/css" />
  8. </head>
  9. <body style="width:65%;margin:auto">
  10. <form id="form1" runat="server">
  11. <div>
  12. <div class="ps">
  13. <table class="ps" cellpadding="0" cellspacing="0">
  14. <tr>
  15. <td class="ps_font">
  16. <asp:DropDownList ID="ddlYearMonth" AutoPostBack="true" runat="server"
  17. Width="100" ontextchanged="ddlYearMonth_TextChanged" />
  18. <asp:DropDownList ID="ddlUsers" AutoPostBack="true" runat="server" Width="70"
  19. ontextchanged="ddlUsers_TextChanged" />
  20. </td>
  21. </tr>
  22. </table>
  23. </div>
  24. <div class="list">
  25. <table class="list" cellpadding="0" cellspacing="0" border="0">
  26. <tr class="tr_title">
  27. <td class="td">
  28. 日 期
  29. </td>
  30. <td class="td">
  31. 星 期
  32. </td>
  33. <td class="td">
  34. 早 上
  35. </td>
  36. <td class="td">
  37. 中 午
  38. </td>
  39. <td class="td">
  40. 下 午
  41. </td>
  42. <td class="td">
  43. 晚 上
  44. </td>
  45. </tr>
  46. <asp:Repeater ID="rpData" runat="server" OnItemDataBound="rpData_ItemDataBound">
  47. <ItemTemplate>
  48. <tr class="tr_content" style='<%#Eval("CTid").ToString()!="0"?"background-color:#cbcbcb;":"" %>'>
  49. <td class="td">
  50. <asp:Label ID="lblCTid" runat="server" Text='<%#Eval("CTid") %>' Visible="false" />
  51. <asp:Label ID="lblCalendarDate" runat="server" Text='<%#Eval("CalendarDate") %>' />
  52. </td>
  53. <td class="td">
  54. <asp:Label ID="lblWeek" runat="server" />
  55. </td>
  56. <td class="td">
  57. <asp:Label ID="lblMorning" runat="server" />
  58. </td>
  59. <td class="td">
  60. <asp:Label ID="lblNoon" runat="server" />
  61. </td>
  62. <td class="td">
  63. <asp:Label ID="lblAfternoon" runat="server" />
  64. </td>
  65. <td class="td">
  66. <asp:Label ID="lblAtNight" runat="server" />
  67. </td>
  68. </tr>
  69. </ItemTemplate>
  70. </asp:Repeater>
  71. </table>
  72. </div>
  73. </div>
  74. </form>
  75. </body>
  76. </html>