form的post后传递过去的参数接收不到,是怎么回事?
我用两个用户表,一个是动网论坛的,一个是自己的,现在能实现在数据同步增加,也就是说从自己的注册系统注册的时候能往论坛的用户表里写入同样的帐号和密码等信息,现在有个问题,就是我在修改这些注册信息的时候想同时修改论坛用户表里该用户的信息时总是出错,提示说:
ADODB.Recordset 错误 '800a0bb9 '
变量或者类型不正确,或者不在可以接受的范围之内,要不就是与其他数据冲突。
/User/Info_Save.asp,行105
信息修改页部分代码:
<form name= "form1 " method= "post " action= "Info_Save.asp?Type=Normal&Id= <%=Id%> " onSubmit= "return CheckAdd(this) ">
<TR bgColor=#f1f1f1>
<TD width= "30% " height=25> 用户名: </TD>
<TD width= "80% "> <input name= "UserName " type= "text " id= "UserName " value= " <%=Rs( "UserName ")%> " size= "30 " maxlength= "20 " readonly= "true ">
<span class= "style1 "> *
<input name= "Type " type= "hidden " id= "Type " value= "Normal ">
</span> </TD>
</TR>
...
<TR>
<TD height= "25 " bgcolor= "#f1f1f1 "> </TD>
<TD height= "25 " bgcolor= "#f1f1f1 "> <span class= "tdbg ">
<input name= "Submit " type= "submit " class= "button01-out " value= "确 定 ">
<input name= "Submit2 " type= "reset " class= "button01-out " value= "还 原 ">
</span> </TD>
</TR>
</form>
</TABLE>
处理页Info_Save.asp相关代码如下:
<!--#include file= "../bbs/Conn.asp " -->
<!--#include file= "../bbs/inc/const.asp "-->
<!--#include file= "../bbs/inc/chkinput.asp "-->
<!--#include file= "Conn.asp " -->
<!--#include file= "../Inc/Config.asp " -->
<!--#include file= "Inc/Session.asp " -->
<!--#include file= "../Inc/Char.asp " -->
<!--#include file= "../Inc/md5.asp " -->
<!--#include file= "Inc/CheckLevel.asp " -->
<%
Sub SaveInfo()
If ChkPost=False Then
Response.Write( " <script> alert( '对不起,请在正确位置注册!\n\n 排除异站提交! ');window.history.back(); </script> ")
Response.End
End If
Dim UserId,Pwd,Pwd1,Question,Answer,Email
UserId=Trim(Request( "Id "))
Pwd=Trim(Request( "Pa