form_new.aspx
上传用户:simon2hong
上传日期:2021-11-18
资源大小:16746k
文件大小:2k
- <%@ Page Language="C#" %>
- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
- <HTML>
- <HEAD>
- <title>表单新建</title>
- <meta name="GENERATOR" Content="Microsoft Visual Studio .NET 7.1">
- <meta name="CODE_LANGUAGE" Content="C#">
- <meta name="vs_defaultClientScript" content="JavaScript">
- <meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5">
-
- <SCRIPT language="javascript">
- function check_form()
- {
- if(document.Form1.txtFormName.value == "")
- {
- alert("表单名称不能为空!");
- return false;
- }
- return true;
- }
- </SCRIPT>
- </HEAD>
- <body class="bodycolor" topmargin="5">
- <form id="Form1" method="post" runat="server">
- <table border="0" width="100%" cellspacing="0" cellpadding="3" class="small">
- <tr>
- <td class="Big"><img src="/images/notify_new.gif" align="absMiddle"><span class="big3">
- 新建表单</span><br>
- </td>
- </tr>
- </table><br>
- <asp:Panel id="pnlMain" runat="server">
- <TABLE class="small" cellSpacing="1" cellPadding="2" width="60%" align="center" bgColor="#ffffff"
- border="0">
- <TR>
- <TD class="TableData" noWrap>表单名称:</TD>
- <TD class="TableData">
- <asp:TextBox id="txtFormName" runat="server" Columns="30" CssClass="BigInput"></asp:TextBox></TD>
- </TR>
- <TR class="TableControl" align="center">
- <TD noWrap colSpan="2"> <INPUT class="BigButton" onclick="return check_form();" type="submit" value="保存" name="submit">
- <input type="button" value="返回" class="BigButton" name="back" onClick="location='index.aspx';">
- </TD>
- </TR>
- </TABLE>
- </asp:Panel>
- <asp:Literal id="litMessage" runat="server"></asp:Literal>
- <br>
- <div class="small1" align=center>
- 不明白如何设计表单和设计流程?请参考官方网站下载中心的《工作流使用详解》。
- </div>
- <br>
- </form>
- </body>
- </HTML>