form_import.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 CheckFile()
- {
- if (document.Form1.fileHtml.value=="")
- { alert("请选择附件!");
- return (false);
- }
- return true;
- }
- </script>
- </HEAD>
- <body class="bodycolor" topmargin="5">
- <form id="Form1" method="post" runat="server">
- <asp:Panel id="pnlMain" runat="server">
- <TABLE class="small" cellSpacing="0" cellPadding="3" width="100%" border="0">
- <TR>
- <TD class="Big"><IMG src="/images/green_arrow.gif" align="absMiddle"><SPAN class="big3">
- 导入表单</SPAN><BR>
- </TD>
- </TR>
- </TABLE>
- <BR>
- <DIV class="Big1" align="center"><B>请指定表单文本文件或HTML文件:<BR>
- <BR>
- </B><INPUT class="BigInput" id="fileHtml" type="file" name="fileHtml" runat="server">
- <INPUT class="BigButton" onclick="return CheckFile();" type="submit" value="导入">
- <STRONG>
- <BR>
- </STRONG>
- <BR>
- <INPUT class="BigButton" onclick="location='index.aspx'" type="button" value="返回">
- </DIV>
- </asp:Panel>
- <asp:Literal id="litMessage" runat="server"></asp:Literal>
- </form>
- </body>
- </HTML>