主题: 关于ecitor无法复制提交复杂Excel的疑问
作者: 茶叶蛋, 发布日期: 2011-11-24 16:11:03, 浏览数: 3598

之前发过一个问题

http://www.kindsoft.net/view.php?bbsid=5&postid=4263

 

我复制一个复杂的表格就无法提交了,但是只复制前42行提交就没有问题

 

我现在改成纯asp的页面,但是问题仍然一样 看代码

	<link rel="stylesheet" href="../editor/themes/default/default.css" />
	<link rel="stylesheet" href="../editor/plugins/code/prettify.css" />
	<script charset="utf-8" src="../editor/kindeditor.js"></script>
	<script charset="utf-8" src="../editor/lang/zh_CN.js"></script>
	<script charset="utf-8" src="../editor/plugins/code/prettify.js"></script>

<script>
        var editor;
        KindEditor.ready(function(K) {
                editor = K.create('#editor_8', {
                        resizeType : 0,
                        cssPath : '../editor/plugins/code/prettify.css',
						uploadJson : '../editor/asp/upload_json.asp',
						fileManagerJson : '../editor/asp/file_manager_json.asp',
						allowFileManager : true						
                });
        });
</script>


<form name="frmAdd" method="post" action="Message.do?Action=AddTypeSave">

<textarea id="editor_8" name="MContent" style="width:700px;height:300px;visibility:hidden;"></textarea>

</form>


<%
	action = trim(request("action"))
	if action = "AddTypeSave" Then
		
	
UserName		=	Trim(Request("UserName"))
sContent 		= 	Trim(Request("MContent"))

If sContent = "" or IsNull(sContent) or len(trim(sContent)) < 1 Then
  Call Tip("出错,内容不能为空!")
End If
	
	
Set Rs = Server.CreateObject("Adodb.RecordSet")
Sql = "Select  * From [Message] 
Rs.Open Sql,Conn,1,3

	Rs.AddNew
		Rs("MContent")	      =  	sContent
		Rs("UserName")      =   UserName
		Rs.Update
	Response.Write("<script language=""JavaScript"">alert(""信息发布成功!"");location.href= 'Index.do ';</script>")

	
	Rs.Close
	Set Rs = Nothing

end if
%>

 

作者: Roddy, 发布日期: 2011-11-24 16:51:09
应该是IIS6的配置问题,看看有没有HTTP数据容量限制。
回复
作者: 茶叶蛋, 发布日期: 2011-12-05 00:32:00

回复Roddy:

 

的确有的,IIS6.0 限制  asp上传文件为200K   但是aspx没有限制    

回复
发表新帖 发表回复