taskadd.aspx
来自「ASP.NET的一些开发实例,有论坛管理系统等」· ASPX 代码 · 共 141 行
ASPX
141 行
<%@ Page language="c#" Codebehind="TaskAdd.aspx.cs" AutoEventWireup="false" Inherits="WorkGroupManager.task.TaskAdd" codePage="936" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
<HEAD>
<TITLE>任务增加</TITLE>
<META http-equiv="Content-Type" content="text/html; charset=gb2312">
<meta content="Microsoft Visual Studio 7.0" name="GENERATOR">
<meta content="C#" name="CODE_LANGUAGE">
<meta content="JavaScript" name="vs_defaultClientScript">
<meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">
<LINK href="../CSS/ADCC.css" type="text/css" rel="stylesheet">
<script src="../calendar3.js"></script>
<script src="../DataCheck.js"></script>
<script language="javascript" event="onclick" for="datacheck">
if(Empty("tbNO","任务编号") == false) return false;
if(Empty("tbName","任务名称") == false) return false;
if(Empty("tbDate","发布时间") == false) return false;
if(Empty("tbEndDate","完成时间") == false) return false;
if(Empty("tbContent","任务内容") == false) return false;
</script>
</HEAD>
<BODY leftMargin="0" topMargin="0">
<form id="Filter" method="post" runat="server">
<FONT face="宋体"></FONT>
<table height="249" cellSpacing="0" cellPadding="0" width="498" border="0" style="WIDTH: 498px; HEIGHT: 249px">
<TR>
<TD vAlign="middle" height="23">
<TABLE id="Table5" cellSpacing="0" cellPadding="0" width="100%" border="0">
<TR>
<TD style="WIDTH: 37px" vAlign="top" colSpan="1" rowSpan="1"><IMG src="../pics/tc-1.jpg"></TD>
<TD vAlign="bottom">
<P align="center"><FONT class="topic">::::: 任务空间增加 :::::</FONT></P>
</TD>
<TD bgColor="white"><IMG src="../pics/tc-2.jpg"><IMG src="../pics/tc-3.jpg"></TD>
<TD bgColor="white"></TD>
</TR>
</TABLE>
</TD>
</TR>
<tr>
<td>
<HR width="96%" color="#ffffff" SIZE="1">
<table style="WIDTH: 487px; COLOR: white; HEIGHT: 106px" cellSpacing="0" cellPadding="0"
width="487" border="0">
<tr>
<td style="WIDTH: 123px" align="right" width="123" height="30">任务编号:
</td>
<TD align="left" width="250"><FONT face="宋体"></FONT>
<asp:textbox id="tbNO" runat="server" Width="124px"></asp:textbox></TD>
</tr>
<tr>
<td style="WIDTH: 123px" align="right" width="123" height="30">任务名称:
</td>
<TD align="left" width="250"><FONT face="宋体"></FONT>
<asp:textbox id="tbName" runat="server" Width="124px"></asp:textbox></TD>
</tr>
<tr>
<td style="WIDTH: 123px" align="right" width="123" height="30">发布时间:
</td>
<TD align="left" width="250">
<asp:textbox id="tbDate" runat="server" Width="124px"></asp:textbox><IMG onclick="cal1.popup();" alt="" src="../pics/datetime.gif">
<script language="javascript">
var cal1 = new calendar2(document.all.tbDate);
</script>
</TD>
</tr>
<tr>
<td style="WIDTH: 123px" align="right" width="123" height="30">发布人:
</td>
<TD align="left" width="250"><FONT face="宋体">
<asp:Label id="lbPromulgator" runat="server" Width="124px">Label</asp:Label></FONT></TD>
</tr>
<tr>
<td style="WIDTH: 123px" align="right" width="123" height="30">执行人:
</td>
<TD align="left" width="250"><FONT face="宋体">
<asp:DropDownList id="ddlExecutor" runat="server" Width="124px"></asp:DropDownList></FONT></TD>
</tr>
<tr>
<td style="WIDTH: 123px" align="right" width="123" height="30">完成时间:
</td>
<TD align="left" width="250"><FONT face="宋体"></FONT>
<asp:textbox id="tbEndDate" runat="server" Width="124px"></asp:textbox><IMG onclick="cal2.popup();" alt="" src="../pics/datetime.gif">
<script language="javascript">
var cal2 = new calendar2(document.all.tbEndDate);
</script>
</TD>
</tr>
<tr>
<td style="WIDTH: 123px" align="right" width="123" height="30">共享:
</td>
<TD align="left" width="250">
<asp:CheckBox id="cbShare" runat="server" AutoPostBack="True"></asp:CheckBox></TD>
</tr>
<tr>
<td style="WIDTH: 123px" align="right" width="123" height="30">任务内容:
</td>
<TD align="left" width="250"><FONT face="宋体"></FONT>
<asp:textbox id="tbContent" runat="server" Width="259px" TextMode="MultiLine" Height="57px"></asp:textbox></TD>
</tr>
<tr>
<td style="WIDTH: 123px" align="right" width="123" height="30">备注:
</td>
<TD align="left" width="250"><FONT face="宋体"></FONT>
<asp:textbox id="tbRemark" runat="server" Width="259px" TextMode="MultiLine" Height="57px"></asp:textbox></TD>
</tr>
</table>
<HR width="96%" color="#ffffff" SIZE="1">
<asp:RangeValidator id="RangeValidator1" runat="server" ErrorMessage="请输入正确的日期格式例如:2003-5-23" Type="Date"
ControlToValidate="tbDate" MaximumValue="2100-12-31" MinimumValue="1900-01-01"></asp:RangeValidator>
<asp:RangeValidator id="RangeValidator2" runat="server" ErrorMessage="请输入正确的日期格式例如:2003-5-23" Type="Date"
ControlToValidate="tbEndDate" MaximumValue="2100-12-31" MinimumValue="1900-01-01"></asp:RangeValidator>
</td>
</tr>
<TR>
<TD vAlign="bottom"><FONT face="宋体"></FONT></TD>
</TR>
<TR>
<TD height="31">
<TABLE id="Table4" cellSpacing="0" cellPadding="0" width="100%" border="0">
<TR>
<TD width="1" style="WIDTH: 1px; HEIGHT: 31px"><FONT face="宋体"></FONT></TD>
<TD width="305" background="../pics/tanchu-d.jpg" style="WIDTH: 305px; HEIGHT: 31px"></TD>
<TD width="89" background="../pics/tanchu-temp.jpg" style="HEIGHT: 31px">
<P align="center">
<asp:LinkButton id="datacheck" runat="server">确 定</asp:LinkButton>
</P>
</TD>
<TD width="89" background="../pics/tanchu-temp.jpg" style="HEIGHT: 31px">
<P align="center"><A href="javascript:window.close()">取 消</A></P>
</TD>
<TD width="10" background="../pics/tanchu-d.jpg" style="HEIGHT: 31px"></TD>
</TR>
</TABLE>
</TD>
</TR>
</table>
</form>
</BODY>
</HTML>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?