温馨提示:代码在线浏览功能只能做为源码浏览参考,如果想更进一步了解该代码请下载:项目管理系统(多用户)源码
当前文件:
ProjectManager/userControl/ucWriteWeekly.ascx,打开代码结构图
ProjectManager/userControl/ucWriteWeekly.ascx,打开代码结构图1<%@ Control Language="C#" AutoEventWireup="true" CodeFile="ucWriteWeekly.ascx.cs" Inherits="userControls_ucWriteSchedule" %> 2
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %> 3
4
<table width="100%" border="1" cellpadding="0" cellspacing="0"> 5
<tr> 6
<td align="center" colspan="3" style="height: 21px"> 7
个人周报 (今天是<asp:Label ID="lbDate" runat="server" ForeColor="Red"></asp:Label>)</td> 8
</tr> 9
<tr> 10
<td align="center" colspan="3"> 11
</td> 12
</tr> 13
<tr> 14
<td style="width: 157px; height: 21px"> 15
选择参与的项目</td> 16
<td style="height: 21px" colspan="2"> 17
<asp:DropDownList ID="ddlActiveProjectName" runat="server" Width="270px"> 18
</asp:DropDownList></td> 19
</tr> 20
<tr> 21
<td style="width: 157px"> 22
选择填写周报时间</td> 23
<td colspan="2"> 24
<asp:RadioButtonList ID="rblSetWeek" runat="server" RepeatDirection="Horizontal"> 25
<asp:ListItem Selected="True" Value="1">本周</asp:ListItem> 26
<asp:ListItem Value="-1">上周</asp:ListItem> 27
</asp:RadioButtonList></td> 28
</tr> 29
<tr style="font-size: 9pt; font-family: 宋体"> 30
<td style="width: 157px"> 31
本周具体工作(400字符以内)</td> 32
<td colspan="2"> 33
<asp:TextBox ID="tbWeeklyWork" runat="server" Height="133px" TextMode="MultiLine" Width="100%"></asp:TextBox></td> 34
</tr> 35
<tr> 36
<td style="width: 157px"> 37
总工时</td> 38
<td colspan="2"> 39
<asp:TextBox ID="tbCostTime" runat="server">0.5</asp:TextBox>(小时)<cc1:numericupdownextender id="NumericUpDownExtender1" runat="server" Maximum="365" Minimum="0" Step="0.5" TargetControlID="tbCostTime" Width="70"></cc1:numericupdownextender> 40
</td> 41
</tr> 42
<tr> 43
<td style="width: 157px"> 44
下周工作计划(200字符以内)</td> 45
<td colspan="2"> 46
<asp:TextBox ID="tbNextWeekWorkPlan" runat="server" Height="133px" TextMode="MultiLine" 47
Width="100%"></asp:TextBox></td> 48
</tr> 49
<tr> 50
<td style="width: 157px; height: 7px"> 51
说明</td> 52
<td colspan="2" style="font-style: normal; height: 7px; text-align: left"> 53
<span style="font-size: 9pt; font-family: 宋体"> 提交周报时间为:周一、周二可提交上周周报,周四、周五可提交本周周报,逾期将不允许提交。若因其它原因逾期的,需要向管理员或项目经理提出申请。</span><?xml namespace="" ns="urn:schemas-microsoft-com:office:office" prefix="o" ?><?xml 54
namespace="" prefix="O" ?><o:p></o:p></td> 55
</tr> 56
<tr> 57
<td style="height: 7px" align="center" colspan="3"> 58
<asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="tbWeeklyWork" 59
ErrorMessage="*">本周具体工作不能为空</asp:RequiredFieldValidator> 60
<asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="tbCostTime" 61
ErrorMessage="*">工时不能为0</asp:RequiredFieldValidator> 62
</td> 63
</tr> 64
<tr> 65
<td align="center" colspan="3" style="height: 7px"> 66
<asp:Label ID="lbMsg" runat="server" ForeColor="Red" EnableViewState="False"></asp:Label></td> 67
</tr> 68
<tr> 69
<td align="center" colspan="3" style="height: 26px"> 70
<asp:Button ID="btnSubmit" runat="server" Text="提交" OnClick="btnSubmit_Click" /></td> 71
</tr> 72
</table> 73
74
<br /> 75
76



