📄 upleave.aspx
字号:
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="UPLeave.aspx.cs" Inherits="AskforLeave_UPLeave" %>
<!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>
</head>
<body>
<form id="form1" runat="server">
<div>
<br />
<br />
<table border="0" cellpadding="0" cellspacing="0" width="500" align="center">
<tr>
<td colspan="3" align="left" style="width: 507px">
<asp:Label ID="LableName" runat="server" Text="Label" Width="146px"></asp:Label></td>
</tr>
<tr>
<td align="left" colspan="3" style="height: 22px; width: 507px;">
剩余年假小时数:<asp:Label ID="LabelHour" runat="server" Text="Label" Width="114px"></asp:Label>
审批者:<asp:DropDownList ID="DropSelect" runat="server" Width="89px">
</asp:DropDownList></td>
</tr>
<tr>
<td align="left" colspan="3" style="height: 280px; width: 507px;">
<table border="0" cellpadding="0" cellspacing="0" width="500">
<tr>
<td style="width: 100px">
开始时间:</td>
<td style="width: 100px">
结束时间:</td>
</tr>
<tr>
<td style="width: 100px; height: 222px;">
<asp:Calendar ID="calstratim" runat="server" Width="220px" BackColor="White" BorderColor="#3366CC" BorderWidth="1px" CellPadding="1" DayNameFormat="Shortest" Font-Names="Verdana" Font-Size="8pt" ForeColor="#003399" Height="200px" OnSelectionChanged="Calendar1_SelectionChanged">
<SelectedDayStyle BackColor="#009999" Font-Bold="True" ForeColor="#CCFF99" />
<TodayDayStyle BackColor="#99CCCC" ForeColor="White" />
<SelectorStyle BackColor="#99CCCC" ForeColor="#336666" />
<WeekendDayStyle BackColor="#CCCCFF" />
<OtherMonthDayStyle ForeColor="#999999" />
<NextPrevStyle Font-Size="8pt" ForeColor="#CCCCFF" />
<DayHeaderStyle BackColor="#99CCCC" ForeColor="#336666" Height="1px" />
<TitleStyle BackColor="#003399" BorderColor="#3366CC" BorderWidth="1px" Font-Bold="True"
Font-Size="10pt" ForeColor="#CCCCFF" Height="25px" />
</asp:Calendar>
<asp:DropDownList ID="dropstartime" runat="server" Width="86px">
<asp:ListItem Value="9">9:00</asp:ListItem>
<asp:ListItem Value="10">10:00</asp:ListItem>
<asp:ListItem Value="11">11:00</asp:ListItem>
<asp:ListItem Value="12">13:00</asp:ListItem>
<asp:ListItem Value="13">14:00</asp:ListItem>
<asp:ListItem Value="14">15:00</asp:ListItem>
<asp:ListItem Value="15">16:00</asp:ListItem>
<asp:ListItem Value="16">17:00</asp:ListItem>
</asp:DropDownList></td>
<td style="width: 100px; height: 222px;">
<asp:Calendar ID="calendtime" runat="server" Width="220px" BackColor="White" BorderColor="#3366CC" BorderWidth="1px" CellPadding="1" DayNameFormat="Shortest" Font-Names="Verdana" Font-Size="8pt" ForeColor="#003399" Height="200px" OnSelectionChanged="Calendar2_SelectionChanged">
<SelectedDayStyle BackColor="#009999" Font-Bold="True" ForeColor="#CCFF99" />
<TodayDayStyle BackColor="#99CCCC" ForeColor="White" />
<SelectorStyle BackColor="#99CCCC" ForeColor="#336666" />
<WeekendDayStyle BackColor="#CCCCFF" />
<OtherMonthDayStyle ForeColor="#999999" />
<NextPrevStyle Font-Size="8pt" ForeColor="#CCCCFF" />
<DayHeaderStyle BackColor="#99CCCC" ForeColor="#336666" Height="1px" />
<TitleStyle BackColor="#003399" BorderColor="#3366CC" BorderWidth="1px" Font-Bold="True"
Font-Size="10pt" ForeColor="#CCCCFF" Height="25px" />
</asp:Calendar>
<asp:DropDownList ID="dropendtime" runat="server" Width="75px">
<asp:ListItem Value="10">10:00</asp:ListItem>
<asp:ListItem Value="11">11:00</asp:ListItem>
<asp:ListItem Value="12">12:00</asp:ListItem>
<asp:ListItem Value="13">14:00</asp:ListItem>
<asp:ListItem Value="14">15:00</asp:ListItem>
<asp:ListItem Value="15">16:00</asp:ListItem>
<asp:ListItem Value="16">17:00</asp:ListItem>
<asp:ListItem Value="17">18:00</asp:ListItem>
</asp:DropDownList></td>
</tr>
</table>
</td>
<td align="left" colspan="1" style="height: 280px">
</td>
</tr>
<tr>
<td colspan="3" style="width: 507px">
请假理由</td>
</tr>
<tr>
<td colspan="3" style="width: 507px">
<asp:TextBox ID="TxtLeave" runat="server" Height="150px" TextMode="MultiLine" Width="500px" OnTextChanged="TxtLeave_TextChanged"></asp:TextBox></td>
</tr>
<tr>
<td colspan="3" style="height: 24px; width: 507px;">
<asp:Button ID="Button1" runat="server" Text="计算时间" OnClick="Button1_Click" />
<asp:Button ID="Button2" runat="server" Text=" 提 交 " Width="68px" OnClick="Button2_Click" /></td>
</tr>
<tr>
<td colspan="3" style="height: 24px; width: 507px;">
<asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="TxtLeave"
ErrorMessage="理由不能为空!" Width="185px"></asp:RequiredFieldValidator></td>
</tr>
</table>
</div>
</form>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -