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

OA系统

开发平台:

ASP/ASPX

  1. <%@ Page Language="C#" AutoEventWireup="true" CodeFile="kaoqin_show.aspx.cs" Inherits="web_Default2" %>
  2. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  3. <html xmlns="http://www.w3.org/1999/xhtml" >
  4. <head runat="server">
  5.     <title>无标题页</title>
  6. </head>
  7. <body>
  8.     <form id="form1" runat="server">
  9.     <div>
  10.         <asp:Panel ID="Panel1" runat="server" Height="517px" Style="vertical-align: middle;
  11.             text-align: center" Width="778px">
  12.             <asp:DropDownList ID="DropDownList1" runat="server" AutoPostBack="True" DataSourceID="SqlDataSource1"
  13.                 DataTextField="department_name" DataValueField="department_id" Height="33px"
  14.                 Style="left: 120px; position: absolute; top: 25px" Width="536px">
  15.             </asp:DropDownList>
  16.             <br />
  17.             <asp:DropDownList ID="DropDownList2" runat="server" DataSourceID="SqlDataSource2"
  18.                 DataTextField="name" DataValueField="name" Height="53px" Style="left: 120px;
  19.                 position: absolute; top: 51px" Width="537px">
  20.             </asp:DropDownList>
  21.             <br />
  22.             <br />
  23.             <asp:Label ID="Label1" runat="server" Height="20px" Style="left: 120px; vertical-align: middle;
  24.                 position: absolute; top: 78px; text-align: center; border-right: 1px solid; border-top: 1px solid; border-left: 1px solid; border-bottom: 1px solid;" Text="起始日期" Width="106px" BorderColor="#804040"></asp:Label>
  25.             &nbsp;&nbsp;
  26.             <asp:ImageButton ID="ImageButton1" runat="server" ImageUrl="~/images/calbtn.gif"
  27.                 OnClick="ImageButton1_Click" Style="left: 346px; position: absolute; top: 80px" />
  28.             <asp:ImageButton ID="ImageButton2" runat="server" ImageUrl="~/images/calbtn.gif"
  29.                 OnClick="ImageButton2_Click" Style="left: 624px; position: absolute; top: 83px" />
  30.              <asp:Calendar ID="Calendar1" runat="server" OnSelectionChanged="Calendar1_SelectionChanged" style="left: 206px; position: absolute; top: 102px" Visible="False">
  31.             </asp:Calendar>
  32.             <asp:TextBox ID="TextBox2" runat="server" Height="21px" Style="left: 513px; position: absolute;
  33.                 top: 80px" Width="101px"></asp:TextBox>
  34.             &nbsp;&nbsp;
  35.             <asp:Label ID="Label3" runat="server" Height="19px" Style="left: 399px;
  36.                 position: absolute; top: 82px; text-align: center; border-right: 1px solid; border-top: 1px solid; border-left: 1px solid; border-bottom: 1px solid;" Text="截止日期" Width="106px"></asp:Label>
  37.             &nbsp;&nbsp;&nbsp;&nbsp;
  38.              <asp:Calendar ID="Calendar2" runat="server" OnSelectionChanged="Calendar2_SelectionChanged" style="left: 669px; position: absolute; top: 83px" Visible="False">
  39.             </asp:Calendar>
  40.             <asp:Button ID="Button1" runat="server" OnClick="Button1_Click" Style="left: 356px;
  41.                 position: absolute; top: 115px" Text="确定" Width="44px" />
  42.             &nbsp; &nbsp;&nbsp;&nbsp;&nbsp; &nbsp;<br />
  43.             <br />
  44.             <asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:oa1ConnectionString %>"
  45.                 SelectCommand="SELECT [department_name], [department_id] FROM [OA_FENGONGSI]"></asp:SqlDataSource>
  46.             <asp:SqlDataSource ID="SqlDataSource2" runat="server" ConnectionString="<%$ ConnectionStrings:oa1ConnectionString %>"
  47.                 SelectCommand="SELECT [name], [last_id] FROM [OA_DEPARTMENT] WHERE ([last_id] = @last_id)">
  48.                 <SelectParameters>
  49.                     <asp:ControlParameter ControlID="DropDownList1" Name="last_id" PropertyName="SelectedValue"
  50.                         Type="Int32" />
  51.                 </SelectParameters>
  52.             </asp:SqlDataSource>
  53.             <br />
  54.             <asp:Table ID="Table1" runat="server" Height="322px" Style="left: 71px; position: absolute;
  55.                 top: 167px" Visible="False" Width="662px">
  56.             </asp:Table>
  57.             <br />
  58.             <br />
  59.             <asp:TextBox ID="TextBox1" runat="server" Height="21px" Style="left: 236px; position: absolute;
  60.                 top: 78px" Width="101px"></asp:TextBox>
  61.             &nbsp;&nbsp;<br />
  62.             <br />
  63.             <br />
  64.             &nbsp; &nbsp;
  65.             &nbsp; &nbsp;&nbsp; &nbsp;&nbsp;
  66.         </asp:Panel>
  67.         &nbsp;&nbsp;</div>
  68.     </form>
  69. </body>
  70. </html>