kaoqin.aspx
资源名称:web.rar [点击查看]
上传用户:xrffrp
上传日期:2022-03-25
资源大小:22155k
文件大小:4k
源码类别:
OA系统
开发平台:
ASP/ASPX
- <%@ Page Language="C#" AutoEventWireup="true" CodeFile="kaoqin.aspx.cs" Inherits="web_123_kaoqin" %>
- <%@ Register Assembly="Microsoft.ReportViewer.WebForms, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"
- Namespace="Microsoft.Reporting.WebForms" TagPrefix="rsweb" %>
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
- <html xmlns="http://www.w3.org/1999/xhtml" >
- <head runat="server">
- <title>无标题页</title>
- <script type="text/javascript" language="javascript">
- function selectDepartment()
- {
- var url = "../personnel/department/department_select_tree.aspx";
- var features = "width=400,height=500,top=200,left=250,location=no,toolbar=no,status=no,resizable=yes,scrollbars=yes";
- var selectDepartment = open(url, 'selectDepartment', features);
- selectDepartment.focus();
- }
- function setDepartment(deptId, deptName)
- {
- document.all.Txtdept.value=deptName;
- document.all.DepartmentId.value=deptId;
- }
- function changeEmpNo()
- {
- document.all.TxtLoginName.value = document.all.TxtNo.value;
- document.all.TxtPassword.value = document.all.TxtNo.value;
- }
- </script>
- </head>
- <body>
- <form id="form1" runat="server">
- <div>
- <asp:Label ID="Label3" runat="server" BackColor="#00C0C0" BorderColor="White" BorderStyle="None"
- Font-Names="Impact" Font-Size="Large" Font-Strikeout="False" Font-Underline="True"
- Text=" 考 勤 黑 名 單" Width="410px"></asp:Label><br />
- <asp:Label ID="Label1" runat="server" Text="日期" Width="58px"></asp:Label>
- <asp:TextBox ID="TxtDate" runat="server"></asp:TextBox>
- <asp:ImageButton ID="ImageButton1" runat="server" ImageUrl="~/images/calbtn.gif" OnClick="ImageButton1_Click"
- Style="position: relative" BackColor="Cyan" />
- <asp:Calendar ID="Calendar1" runat="server" BackColor="White" BorderColor="White"
- BorderWidth="1px" Font-Names="Verdana" Font-Size="9pt" ForeColor="Black" Height="127px"
- NextPrevFormat="FullMonth" Width="269px" Visible="false" OnSelectionChanged="Calendar1_SelectionChanged">
- <SelectedDayStyle BackColor="#333399" ForeColor="White" />
- <TodayDayStyle BackColor="#CCCCCC" />
- <OtherMonthDayStyle ForeColor="#999999" />
- <NextPrevStyle Font-Bold="True" Font-Size="8pt" ForeColor="#333333" VerticalAlign="Bottom" />
- <DayHeaderStyle Font-Bold="True" Font-Size="8pt" />
- <TitleStyle BackColor="White" BorderColor="Black" BorderWidth="4px" Font-Bold="True"
- Font-Size="12pt" ForeColor="#333399" />
- </asp:Calendar>
- <br />
- <asp:Label ID="Label2" runat="server" Text="部門" Width="56px"></asp:Label>
- <asp:TextBox ID="Txtdept" runat="server"></asp:TextBox>
- <asp:Button ID="Button2" runat="server" Text="選擇部門" OnClientClick="selectDepartment()" BackColor="LightGray" /><br />
- <asp:Button ID="Button1" runat="server" Text="查 询" OnClick="Button1_Click" BackColor="White" BorderStyle="Ridge" Width="164px" />
- <asp:HiddenField ID="DepartmentId" runat="server" />
-
- <rsweb:ReportViewer ID="ReportViewer1" runat="server" Font-Names="Verdana" Font-Size="8pt"
- Height="433px" Width="921px" Visible="false" BackColor="#00C0C0" >
- <LocalReport ReportPath="web123Report1.rdlc">
- <DataSources>
- <rsweb:ReportDataSource DataSourceId="ObjectDataSource1" Name="kaoqin" />
- </DataSources>
- </LocalReport>
- </rsweb:ReportViewer>
- </div>
- </form>
- </body>
- </html>