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

OA系统

开发平台:

ASP/ASPX

  1. <%@ Page Language="C#" AutoEventWireup="true" CodeFile="show_work.aspx.cs" Inherits="web_pos_c_show_work" %>
  2. <%@ Register Assembly="Microsoft.ReportViewer.WebForms, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"
  3.     Namespace="Microsoft.Reporting.WebForms" TagPrefix="rsweb" %>
  4. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  5. <html xmlns="http://www.w3.org/1999/xhtml" >
  6. <head runat="server">
  7.     <title>无标题页</title>
  8. </head>
  9. <body>
  10.     <form id="form1" runat="server">
  11.     <div>
  12.         &nbsp;
  13.         <asp:Calendar ID="Calendar1" runat="server" OnSelectionChanged="Calendar1_SelectionChanged"
  14.             Style="left: 162px; position: absolute; top: 72px" Visible="False" BackColor="White" BorderColor="Black" BorderStyle="Solid" CellSpacing="1" Font-Names="Verdana" Font-Size="9pt" ForeColor="Black" Height="250px" NextPrevFormat="ShortMonth" Width="330px">
  15.             <SelectedDayStyle BackColor="#333399" ForeColor="White" />
  16.             <TodayDayStyle BackColor="#999999" ForeColor="White" />
  17.             <DayStyle BackColor="#CCCCCC" />
  18.             <OtherMonthDayStyle ForeColor="#999999" />
  19.             <NextPrevStyle Font-Bold="True" Font-Size="8pt" ForeColor="White" />
  20.             <DayHeaderStyle Font-Bold="True" Font-Size="8pt" ForeColor="#333333" Height="8pt" />
  21.             <TitleStyle BackColor="#333399" BorderStyle="Solid" Font-Bold="True" Font-Size="12pt"
  22.                 ForeColor="White" Height="12pt" />
  23.         </asp:Calendar>
  24.         <asp:Label ID="Label1" runat="server" Style="left: 65px; position: absolute; top: 13px; text-align: center;"
  25.             Text="考勤汇总表" Width="384px" BackColor="#00C0C0"></asp:Label>
  26.         <asp:TextBox ID="TextBox1" runat="server" Style="left: 163px; position: absolute;
  27.             top: 50px" OnTextChanged="TextBox1_TextChanged"></asp:TextBox>
  28.         <asp:TextBox ID="TextBox2" runat="server" OnTextChanged="TextBox2_TextChanged" Style="left: 454px;
  29.             position: absolute; top: 51px"></asp:TextBox>
  30.         <asp:Label ID="Label3" runat="server" Style="left: 66px; position: absolute; top: 51px"
  31.             Text="開始時間" Width="92px" BackColor="#00C0C0"></asp:Label>
  32.         <asp:Label ID="Label2" runat="server" Style="left: 359px; position: absolute; top: 53px"
  33.             Text="結束時間" Width="92px" BackColor="#00C0C0"></asp:Label>
  34.         <asp:ImageButton ID="ImageButton1" runat="server" ImageUrl="~/images/calbtn.gif"
  35.             OnClick="ImageButton1_Click" Style="left: 321px; position: absolute; top: 52px" />
  36.         <asp:ImageButton ID="ImageButton2" runat="server" ImageUrl="~/images/calbtn.gif"
  37.             OnClick="ImageButton2_Click" Style="left: 613px; position: absolute; top: 53px" />
  38.         <asp:Calendar ID="Calendar2" runat="server" OnSelectionChanged="Calendar2_SelectionChanged"
  39.             Style="left: 499px; position: absolute; top: 75px" Visible="False" BackColor="White" BorderColor="Black" BorderStyle="Solid" CellSpacing="1" Font-Names="Verdana" Font-Size="9pt" ForeColor="Black" Height="250px" NextPrevFormat="ShortMonth" Width="330px">
  40.             <SelectedDayStyle BackColor="#333399" ForeColor="White" />
  41.             <TodayDayStyle BackColor="#999999" ForeColor="White" />
  42.             <DayStyle BackColor="#CCCCCC" />
  43.             <OtherMonthDayStyle ForeColor="#999999" />
  44.             <NextPrevStyle Font-Bold="True" Font-Size="8pt" ForeColor="White" />
  45.             <DayHeaderStyle Font-Bold="True" Font-Size="8pt" ForeColor="#333333" Height="8pt" />
  46.             <TitleStyle BackColor="#333399" BorderStyle="Solid" Font-Bold="True" Font-Size="12pt"
  47.                 ForeColor="White" Height="12pt" />
  48.         </asp:Calendar>
  49.         &nbsp;&nbsp;
  50.         <asp:Button ID="Button1" runat="server" OnClick="Button1_Click" Style="left: 63px;
  51.             position: absolute; top: 77px" Text="查詢" BackColor="#00C0C0" Width="93px" />
  52.         &nbsp;
  53.         <rsweb:ReportViewer ID="ReportViewer1" runat="server" BackColor="#00C0C0" Font-Names="Verdana"
  54.             Font-Size="8pt" Height="400px" Style="left: 56px; position: absolute; top: 122px"
  55.             Width="840px">
  56.             <LocalReport ReportPath="webReport1.rdlc">
  57.                 <DataSources>
  58.                     <rsweb:ReportDataSource DataSourceId="ObjectDataSource1" Name="DataSet1_DataTable1" />
  59.                 </DataSources>
  60.             </LocalReport>
  61.         </rsweb:ReportViewer>
  62.         <asp:ObjectDataSource ID="ObjectDataSource1" runat="server" SelectMethod="GetData"
  63.             TypeName="DataSet1TableAdapters."></asp:ObjectDataSource>
  64.         &nbsp; &nbsp;&nbsp;
  65.     
  66.     </div>
  67.     </form>  
  68. </body>
  69. </html>