DepSch.aspx
上传用户:autodoor
上传日期:2022-08-04
资源大小:9973k
文件大小:13k
源码类别:

.net编程

开发平台:

Others

  1. <%@ Page language="c#" Codebehind="DepSch.aspx.cs" AutoEventWireup="false" Inherits="qminoa.Webs.Schedule.DepSch" %>
  2. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
  3. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
  4. <HTML>
  5. <HEAD>
  6. <title></title>
  7. <meta content="Microsoft Visual Studio.NET 7.0" name="GENERATOR">
  8. <meta content="Visual Basic 7.0" name="CODE_LANGUAGE">
  9. <meta content="JavaScript" name="vs_defaultClientScript">
  10. <meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">
  11. <LINK href="../lynn.css" type="text/css" rel="stylesheet">
  12. </HEAD>
  13. <body bottomMargin="0" leftMargin="0" topMargin="0" MS_POSITIONING="GridLayout">
  14. <form id="Form1" method="post" runat="server">
  15. <FONT face="宋体">
  16. <TABLE style="WIDTH: 100%; POSITION: absolute; HEIGHT: 100%" cellSpacing="0" cellPadding="0" width="691" border="0">
  17. <TBODY>
  18. <TR>
  19. <TD class="" style="WIDTH: 824px; HEIGHT: 13px" vAlign="top" noWrap>
  20. <TABLE class="headcenter" id="Table1" style="HEIGHT: 21px" borderColor="#888888" cellSpacing="0" borderColorDark="#ffffff" cellPadding="0" width="100%" border="0">
  21. <TR>
  22. <TD class="titlebar" style="FONT-SIZE: 9pt; WIDTH: 56.33%" align="left">&nbsp;日程任务:部门日程
  23. </TD>
  24. <TD class="tttable" noWrap align="right">
  25. <asp:label id="lblUName" runat="server" CssClass="uname" Font-Size="X-Small" Height="12px" Width="118px"></asp:label></TD>
  26. </TR>
  27. </TABLE>
  28. </TD>
  29. </TR>
  30. <TR>
  31. <TD style="WIDTH: 941px; HEIGHT: 50px" vAlign="top" align="middle">
  32. <TABLE class="querybox" style="WIDTH: 95%; HEIGHT: 40px" cellSpacing="0" cellPadding="0" border="0">
  33. <TR>
  34. <TD vAlign="center" noWrap>
  35. <TABLE class="td" style="WIDTH: 100%; HEIGHT: 92.29%" cellSpacing="0" cellPadding="0" border="0">
  36. <TR>
  37. <TD style="FONT-SIZE: 9pt; WIDTH: 55px" noWrap align="right">机构名称
  38. </TD>
  39. <TD style="WIDTH: 95px"><asp:dropdownlist id="dropBranch" runat="server" CssClass="td" Font-Size="X-Small" AutoPostBack="True" DataValueField="branchid" DataTextField="branchname" Height="23px" Width="100px"></asp:dropdownlist></TD>
  40. <TD style="FONT-SIZE: 9pt; WIDTH: 26px" noWrap align="right">部门
  41. </TD>
  42. <TD style="WIDTH: 72px"><asp:dropdownlist id="dropDep" runat="server" CssClass="td" Font-Size="X-Small" AutoPostBack="True" DataValueField="depid" DataTextField="depname" Height="23px" Width="142px"></asp:dropdownlist></TD>
  43. <TD style="FONT-SIZE: 9pt; WIDTH: 57px" noWrap align="right">姓名/帐号
  44. </TD>
  45. <TD style="WIDTH: 86px"><asp:textbox id="txtName" runat="server" CssClass="td" Font-Size="X-Small" Width="84px"></asp:textbox></TD>
  46. <TD>&nbsp;<asp:imagebutton id="cmdQuery" runat="server" ImageUrl="../img/button/query.gif"></asp:imagebutton>
  47. </TD>
  48. </TR>
  49. <TR>
  50. <TD style="FONT-SIZE: 9pt; WIDTH: 55px" noWrap align="right">日期:年
  51. </TD>
  52. <TD style="WIDTH: 95px"><asp:textbox id="txtYear" runat="server" Font-Size="X-Small" Width="60px"></asp:textbox>
  53. <asp:requiredfieldvalidator id="RequiredValidator_Year" runat="server" CssClass="td" ControlToValidate="txtYear" ErrorMessage="[主题]必须输入!">*</asp:requiredfieldvalidator>
  54. <asp:RangeValidator id="RangeValidator_Year" runat="server" ErrorMessage="输入年有误,请输入4位整数,例如:2004" ControlToValidate="txtYear" MaximumValue="2050" MinimumValue="1980" Type="Integer">#</asp:RangeValidator>
  55. </TD>
  56. <TD style="FONT-SIZE: 9pt; WIDTH: 26px" noWrap align="right">月
  57. </TD>
  58. <TD style="WIDTH: 72px"><asp:dropdownlist id="dropMonth" runat="server" Font-Size="X-Small" AutoPostBack="True" Height="23px" Width="142px">
  59. <asp:ListItem Value="一月">一月</asp:ListItem>
  60. <asp:ListItem Value="二月">二月</asp:ListItem>
  61. <asp:ListItem Value="三月">三月</asp:ListItem>
  62. <asp:ListItem Value="四月">四月</asp:ListItem>
  63. <asp:ListItem Value="五月">五月</asp:ListItem>
  64. <asp:ListItem Value="六月">六月</asp:ListItem>
  65. <asp:ListItem Value="七月">七月</asp:ListItem>
  66. <asp:ListItem Value="八月">八月</asp:ListItem>
  67. <asp:ListItem Value="九月">九月</asp:ListItem>
  68. <asp:ListItem Value="十月">十月</asp:ListItem>
  69. <asp:ListItem Value="十一月">十一月</asp:ListItem>
  70. <asp:ListItem Value="十二月">十二月</asp:ListItem>
  71. </asp:dropdownlist></TD>
  72. <TD style="FONT-SIZE: 9pt; WIDTH: 57px" noWrap align="right">日&nbsp;
  73. </TD>
  74. <TD style="WIDTH: 86px"><asp:dropdownlist id="dropDay" runat="server" Font-Size="X-Small" AutoPostBack="True" Width="84px">
  75. <asp:ListItem Value="1">1</asp:ListItem>
  76. <asp:ListItem Value="2">2</asp:ListItem>
  77. <asp:ListItem Value="3">3</asp:ListItem>
  78. <asp:ListItem Value="4">4</asp:ListItem>
  79. <asp:ListItem Value="5">5</asp:ListItem>
  80. <asp:ListItem Value="6">6</asp:ListItem>
  81. <asp:ListItem Value="7">7</asp:ListItem>
  82. <asp:ListItem Value="8">8</asp:ListItem>
  83. <asp:ListItem Value="9">9</asp:ListItem>
  84. <asp:ListItem Value="10">10</asp:ListItem>
  85. <asp:ListItem Value="11">11</asp:ListItem>
  86. <asp:ListItem Value="12">12</asp:ListItem>
  87. <asp:ListItem Value="13">13</asp:ListItem>
  88. <asp:ListItem Value="14">14</asp:ListItem>
  89. <asp:ListItem Value="15">15</asp:ListItem>
  90. <asp:ListItem Value="16">16</asp:ListItem>
  91. <asp:ListItem Value="17">17</asp:ListItem>
  92. <asp:ListItem Value="18">18</asp:ListItem>
  93. <asp:ListItem Value="19">19</asp:ListItem>
  94. <asp:ListItem Value="20">20</asp:ListItem>
  95. <asp:ListItem Value="21">21</asp:ListItem>
  96. <asp:ListItem Value="22">22</asp:ListItem>
  97. <asp:ListItem Value="23">23</asp:ListItem>
  98. <asp:ListItem Value="24">24</asp:ListItem>
  99. <asp:ListItem Value="25">25</asp:ListItem>
  100. <asp:ListItem Value="26">26</asp:ListItem>
  101. <asp:ListItem Value="27">27</asp:ListItem>
  102. <asp:ListItem Value="28">28</asp:ListItem>
  103. <asp:ListItem Value="29">29</asp:ListItem>
  104. <asp:ListItem Value="30">30</asp:ListItem>
  105. <asp:ListItem Value="31">31</asp:ListItem>
  106. </asp:dropdownlist></TD>
  107. <TD><asp:label id="lblErr" runat="server" CssClass="err" Font-Size="X-Small" Visible="False" ForeColor="Red"></asp:label></TD>
  108. </TR>
  109. </TABLE>
  110. </TD>
  111. </TR>
  112. </TABLE>
  113. </TD>
  114. </TR>
  115. <TR>
  116. <TD style="WIDTH: 98.49%" vAlign="top" align="middle">
  117. <TABLE style="WIDTH: 778px; HEIGHT: 411px" height="411" cellSpacing="0" cellPadding="0" width="778" border="0">
  118. <TR>
  119. <TD style="HEIGHT: 200px" vAlign="top">
  120. <TABLE class="td" style="WIDTH: 100%; HEIGHT: 21px" cellSpacing="0" cellPadding="0" border="0">
  121. <TR>
  122. <TD class="tttable" style="FONT-SIZE: 9pt">部门日程列表(共有<%=count()%>
  123. 人)
  124. <asp:label id="lblEmpNum" runat="server" CssClass="tttable" Font-Size="X-Small"></asp:label><asp:label id="lblDate" runat="server" Font-Size="X-Small" Visible="False"></asp:label><asp:linkbutton id="cmdToday" runat="server" Font-Size="X-Small" ToolTip="查看今日[部门日程]"></asp:linkbutton></TD>
  125. </TR>
  126. </TABLE>
  127. <TABLE class="headcenter" id="Table2" borderColor="#888888" cellSpacing="0" borderColorDark="#ffffff" cellPadding="0" width="100%" border="1">
  128. <TR>
  129. <TD noWrap>&nbsp;&nbsp;&nbsp;&nbsp;
  130. <asp:linkbutton id="cmdLastDay" runat="server" CssClass="tttable" Font-Size="X-Small"><img src="../img/left_arrow.gif" alt="上一周" border="0" />上一周</asp:linkbutton></TD>
  131. <TD noWrap align="middle"><asp:label id="lblHeader" runat="server" Font-Size="X-Small" Font-Bold="True">2001年11月28日 星期日</asp:label></TD>
  132. <TD noWrap align="right"><asp:linkbutton id="cmdNextDay" runat="server" CssClass="tttable" Font-Size="X-Small">下一周<img src="../img/right_arrow.gif" alt="下一周" border="0" /></asp:linkbutton>&nbsp;&nbsp;&nbsp;&nbsp;
  133. </TD>
  134. </TR>
  135. </TABLE>
  136. <TABLE id="Table3" style="WIDTH: 782px; HEIGHT: 280px" borderColor="#888888" cellSpacing="0" borderColorDark="#ffffff" cellPadding="0" width="782" border="1">
  137. <tr>
  138. <td><asp:datagrid id="dgdData" runat="server" CssClass="td" Font-Size="X-Small" Height="194px" Width="100%" BorderStyle="Solid" BorderColor="#F7F7F7" BackColor="#F7F7F7" BorderWidth="1px" PageSize="8" AutoGenerateColumns="False" AllowSorting="True" AllowPaging="True">
  139. <SelectedItemStyle BackColor="Transparent"></SelectedItemStyle>
  140. <EditItemStyle ForeColor="Black" BackColor="Black"></EditItemStyle>
  141. <AlternatingItemStyle BorderColor="White" BackColor="White"></AlternatingItemStyle>
  142. <ItemStyle CssClass="textcenter" BackColor="#DEDFDE"></ItemStyle>
  143. <HeaderStyle CssClass="headcenter"></HeaderStyle>
  144. <FooterStyle CssClass="headcenter"></FooterStyle>
  145. <Columns>
  146. <asp:BoundColumn DataField="name" SortExpression="name" HeaderText="人员姓名">
  147. <HeaderStyle Wrap="False"></HeaderStyle>
  148. <ItemStyle Wrap="False"></ItemStyle>
  149. </asp:BoundColumn>
  150. <asp:TemplateColumn>
  151. <HeaderTemplate>
  152. <font color="red"><b>星期日
  153. <%=day(sdate(0))%>
  154. </b></font>
  155. </HeaderTemplate>
  156. <ItemTemplate>
  157. <asp:Label runat="server" Text='<%# DataBinder.Eval(Container, "DataItem.w0") %>'>
  158. </asp:Label>
  159. </ItemTemplate>
  160. </asp:TemplateColumn>
  161. <asp:TemplateColumn>
  162. <HeaderTemplate>
  163. <b>星期一
  164. <%=day(sdate(1))%>
  165. </b>
  166. </HeaderTemplate>
  167. <ItemTemplate>
  168. <asp:Label runat="server" Text='<%# DataBinder.Eval(Container, "DataItem.w1") %>'>
  169. </asp:Label>
  170. </ItemTemplate>
  171. </asp:TemplateColumn>
  172. <asp:TemplateColumn>
  173. <HeaderTemplate>
  174. <b>星期二
  175. <%=day(sdate(2))%>
  176. </b>
  177. </HeaderTemplate>
  178. <ItemTemplate>
  179. <asp:Label runat="server" Text='<%# DataBinder.Eval(Container, "DataItem.w2") %>'>
  180. </asp:Label>
  181. </ItemTemplate>
  182. </asp:TemplateColumn>
  183. <asp:TemplateColumn>
  184. <HeaderTemplate>
  185. <b>星期三
  186. <%=day(sdate(3))%>
  187. </b>
  188. </HeaderTemplate>
  189. <ItemTemplate>
  190. <asp:Label runat="server" Text='<%# DataBinder.Eval(Container, "DataItem.w3") %>'>
  191. </asp:Label>
  192. </ItemTemplate>
  193. </asp:TemplateColumn>
  194. <asp:TemplateColumn>
  195. <HeaderTemplate>
  196. <b>星期四
  197. <%=day(sdate(4))%>
  198. </b>
  199. </HeaderTemplate>
  200. <ItemTemplate>
  201. <asp:Label runat="server" Text='<%# DataBinder.Eval(Container, "DataItem.w4") %>'>
  202. </asp:Label>
  203. </ItemTemplate>
  204. </asp:TemplateColumn>
  205. <asp:TemplateColumn>
  206. <HeaderTemplate>
  207. <b>星期五
  208. <%=day(sdate(5))%>
  209. </b>
  210. </HeaderTemplate>
  211. <ItemTemplate>
  212. <asp:Label runat="server" Text='<%# DataBinder.Eval(Container, "DataItem.w5") %>'>
  213. </asp:Label>
  214. </ItemTemplate>
  215. </asp:TemplateColumn>
  216. <asp:TemplateColumn>
  217. <HeaderTemplate>
  218. <font color="red"><b>星期六
  219. <%=day(sdate(6))%>
  220. </b></font>
  221. </HeaderTemplate>
  222. <ItemTemplate>
  223. <asp:Label runat="server" Text='<%# DataBinder.Eval(Container, "DataItem.w6") %>'>
  224. </asp:Label>
  225. </ItemTemplate>
  226. </asp:TemplateColumn>
  227. </Columns>
  228. <PagerStyle PageButtonCount="15" Mode="NumericPages"></PagerStyle>
  229. </asp:datagrid></td>
  230. </tr>
  231. </TABLE>
  232. <asp:validationsummary id="ValidationSummary1" runat="server" ShowSummary="false" ShowMessageBox="True"></asp:validationsummary>
  233. </TD>
  234. </TR>
  235. </TABLE>
  236. </TD>
  237. </TR>
  238. </TBODY>
  239. </TABLE>
  240. </FONT>
  241. </form>
  242. </body>
  243. </HTML>