日期:2014-05-17  浏览次数:20870 次

参数类型不正确,或不在可以接受的范围之内,或与其他参数冲突。
这个是代码

<%@LANGUAGE="VBSCRIPT" CODEPAGE="936"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!-- #include file="../db.inc.asp"-->
<!-- #include file="../config/function.inc.asp"-->
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>会员资料修改</title>
<style type="text/css">
#apDiv1 {
   
width:600px;
height:500px;
z-index:1;
margin:0 auto;
}
body {
margin-top: 0px;
}
#apDiv2 {
position:absolute;
width:600px;
height:500px;
z-index:1;
background-image: url(../images/zlxg.jpg);
}
#apDiv3 {
position:absolute;
width:350px;
height:270px;
z-index:1;
left: 125px;
top: 156px;
}
.hs {
color: #F00;
}
table{
  border-collapse: collapse;
border: none;
}
td 
{
border: 1px solid #000;

</style>
</head>

<body>


<div id="apDiv1">
  <div id="apDiv2">
  <div id="apDiv3" align="center">
  <%
set rst=server.CreateObject("adodb.recordset")
  if request.QueryString("act")="modify" then 
  sql="select * from tbl_user where u_id="&request.QueryString("id")
  end if
  rst.open sql,conn,1,1
 if rst.bof and rst.eof then
 msgboxU"未找到用户,可能是参数有误!"
 else
%>
  <p><a href="admin_user.asp">返回会员列表 </a></p>
  <form id="form1" name="form1" method="post" action="admin_user_modify.asp?act=update&id=<%=request.QueryString("id")%>">
  <table width="335" border="0" cellspacing="1" bgcolor="#000000">
  <tr>
  <td colspan="2" bgcolor="#FFFFFF" align="left">请在下面修改会员资料:</td>
  </tr>
  <tr>
  <td width="107" align="right" bgcolor="#FFFFFF">用户名:</td>
  <td width="221" align="left" bgcolor="#FFFFFF">
  <input name="f_user" type="text" id="textfield" value=<%=rst("u_user")%> size="20" /></td>
  </tr>
  <tr>
  <td bgcolor="#FFFFFF" align="right">密码:</td>
  <td align="left" bgcolor="#FFFFFF">
  <input name="f_code" type="text" id="f_code" value=<%=rst("u_code")%> size="20" /></td>
  </tr>
  <tr>
  <td bgcolor="#FFFFFF" align="right">姓名:</td>  
  <td align="left" bgcolor="#FFFFFF">
  <input name="f_name" type="text" id="f_name" value=<%=rst("u_name")%> size="20" /></td>
  </tr>
  <tr>