当前位置:编程学习 > C#/ASP.NET >>

form表单外带提交的问题

ASP   PHP  HTML  都行,
我完全不懂得怎么弄
希望大家给一个步骤
谢谢 --------------------编程问答-------------------- <form id="Form1" name="form1" runat="server" action="提交的页面"> --------------------编程问答--------------------

<!--
ASP.Net
-->
<form id="form1" runat="sever"><!--表单 -->
<input onclick="form1.submit();" value="SubThisForm"/><!--表单内容之一,不会被提交出去 -->
<input name="TestInput"/><!-- 表单内容之一,要有Name属性才能被提交出去-->
<script type="text/javscript>

</script>
</form>
--------------------编程问答-------------------- Server Error in '/' Application.
Configuration Error
Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.

Parser Error Message: It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level.  This error can be caused by a virtual directory not being configured as an application in IIS.

Source Error:

Line 17:  </compilation>
Line 18: 
Line 19:  <authentication mode="Windows"/>
Line 20: 
Line 21:  <!--


Source File: d:\wwwroot\bingyugu\wwwroot\wp-content\themes\sitecms\web.config    Line: 19

Version Information: Microsoft .NET Framework Version:2.0.50727.42; ASP.NET Version:2.0.50727.42  --------------------编程问答-------------------- web.config 错误,这个怎么解决 --------------------编程问答--------------------
引用 4 楼  的回复:
web.config 错误,这个怎么解决


在asp.Net开发中,出现“Server Error in '/' Application."
的提示,一般是页面出现了错误的服务器脚本比如:

/*仅供参考*/
<%XControl.ClientID%>//错误的
<%=XControl.ClientID%>//正确的
<%XCtronl.Text='123';%>//错误的
<%XCtronl.Text=”123“;%>//正确的
补充:.NET技术 ,  ASP.NET
CopyRight © 2012 站长网 编程知识问答 www.zzzyk.com All Rights Reserved
部份技术文章来自网络,