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

OA系统

开发平台:

ASP/ASPX

  1. <%@ Page Language="C#" AutoEventWireup="true" CodeFile="show.aspx.cs" Inherits="web_show" %>
  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;</div>
  13.         <asp:Panel ID="Panel1" runat="server" Height="494px" Width="973px" style="left: 12px; position: absolute; top: 13px">
  14.             <asp:Label ID="Label1" runat="server" BackColor="#00C0C0" Style="left: 2px; position: absolute;
  15.                 top: 14px; text-align: center" Text="考勤汇总表" Width="384px"></asp:Label>
  16.             <asp:Label ID="Label3" runat="server" BackColor="#00C0C0" Style="left: 0px; position: absolute;
  17.                 top: 48px" Text="開始時間" Width="92px"></asp:Label>
  18.             <asp:TextBox ID="TextBox1" runat="server" OnTextChanged="TextBox1_TextChanged" Style="left: 128px;
  19.                 position: absolute; top: 46px"></asp:TextBox>
  20.             &nbsp;
  21.             <asp:Label ID="Label2" runat="server" BackColor="#00C0C0" Style="left: 349px; position: absolute;
  22.                 top: 48px" Text="結束時間" Width="92px"></asp:Label>
  23.             &nbsp;
  24.             <asp:ImageButton ID="ImageButton1" runat="server" ImageUrl="~/images/calbtn.gif"
  25.                 OnClick="ImageButton1_Click" Style="left: 290px; position: absolute; top: 49px" />
  26.             <asp:ImageButton ID="ImageButton2" runat="server" ImageUrl="~/images/calbtn.gif"
  27.                 OnClick="ImageButton2_Click" Style="left: 618px; position: absolute; top: 48px" />
  28.             <asp:TextBox ID="TextBox2" runat="server" OnTextChanged="TextBox2_TextChanged" Style="left: 464px;
  29.                 position: absolute; top: 48px"></asp:TextBox>
  30.             &nbsp;
  31.             <asp:Calendar ID="Calendar1" runat="server" BackColor="White" BorderColor="Black"
  32.                 BorderStyle="Solid" CellSpacing="1" Font-Names="Verdana" Font-Size="9pt" ForeColor="Black"
  33.                 Height="194px" NextPrevFormat="ShortMonth" OnSelectionChanged="Calendar1_SelectionChanged"
  34.                 Style="left: 128px; position: absolute; top: 70px" Visible="False" Width="238px">
  35.                 <SelectedDayStyle BackColor="#333399" ForeColor="White" />
  36.                 <TodayDayStyle BackColor="#999999" ForeColor="White" />
  37.                 <DayStyle BackColor="#CCCCCC" />
  38.                 <OtherMonthDayStyle ForeColor="#999999" />
  39.                 <NextPrevStyle Font-Bold="True" Font-Size="8pt" ForeColor="White" />
  40.                 <DayHeaderStyle Font-Bold="True" Font-Size="8pt" ForeColor="#333333" Height="8pt" />
  41.                 <TitleStyle BackColor="#333399" BorderStyle="Solid" Font-Bold="True" Font-Size="12pt"
  42.                     ForeColor="White" Height="12pt" />
  43.             </asp:Calendar>
  44.             <asp:Calendar ID="Calendar2" runat="server" BackColor="White" BorderColor="Black"
  45.                 BorderStyle="Solid" CellSpacing="1" Font-Names="Verdana" Font-Size="9pt" ForeColor="Black"
  46.                 Height="194px" NextPrevFormat="ShortMonth" OnSelectionChanged="Calendar2_SelectionChanged"
  47.                 Style="left: 371px; position: absolute; top: 70px" Visible="False" Width="274px">
  48.                 <SelectedDayStyle BackColor="#333399" ForeColor="White" />
  49.                 <TodayDayStyle BackColor="#999999" ForeColor="White" />
  50.                 <DayStyle BackColor="#CCCCCC" />
  51.                 <OtherMonthDayStyle ForeColor="#999999" />
  52.                 <NextPrevStyle Font-Bold="True" Font-Size="8pt" ForeColor="White" />
  53.                 <DayHeaderStyle Font-Bold="True" Font-Size="8pt" ForeColor="#333333" Height="8pt" />
  54.                 <TitleStyle BackColor="#333399" BorderStyle="Solid" Font-Bold="True" Font-Size="12pt"
  55.                     ForeColor="White" Height="12pt" />
  56.             </asp:Calendar>
  57.             <asp:Button ID="Button1" runat="server" BackColor="#00C0C0" OnClick="Button1_Click"
  58.                 Style="left: 1px; position: absolute; top: 89px" Text="查詢" Width="93px" />
  59.             <rsweb:ReportViewer ID="ReportViewer1" runat="server" BackColor="#00C0C0" Font-Names="Verdana"
  60.                 Font-Size="8pt" Height="407px" Style="left: 2px; position: absolute; top: 124px"
  61.                 Width="967px">
  62.                 <LocalReport ReportPath="webReport1.rdlc">
  63.                     <DataSources>
  64.                         <rsweb:ReportDataSource DataSourceId="ObjectDataSource1" Name="DataSet1_DataTable1" />
  65.                     </DataSources>
  66.                 </LocalReport>
  67.             </rsweb:ReportViewer>
  68.             <asp:ObjectDataSource ID="ObjectDataSource1" runat="server" SelectMethod="GetData"
  69.                 TypeName="DataSet1TableAdapters."></asp:ObjectDataSource>
  70.             &nbsp;&nbsp;
  71.             <asp:DropDownList ID="DropDownList1" runat="server" BackColor="#00C0C0" Style="left: 0px;
  72.                 position: absolute; top: 67px" Width="125px">
  73.             </asp:DropDownList>
  74.         </asp:Panel>
  75.     </form>
  76. </body>
  77. </html>