| 网站首页 | 业界新闻 | 小组 | 威客 | 人才 | 下载频道 | 博客 | 代码贴 | 在线编程 | 编程论坛
欢迎加入我们,一同切磋技术
用户名:   
 
密 码:  
共有 3429 人关注过本帖
标题:参数不足 期待为2.我真是弄不出来了
只看楼主 加入收藏
z102379
Rank: 1
等 级:新手上路
帖 子:3
专家分:0
注 册:2017-10-31
收藏
 问题点数:0 回复次数:2 
参数不足 期待为2.我真是弄不出来了
<%@LANGUAGE="VBSCRIPT"%>
<!--#include file="Connections/shuju.asp" -->
<%
Dim Recordset1__MMColParam
Recordset1__MMColParam = "1"
If (Request("MM_EmptyValue") <> "") Then
  Recordset1__MMColParam = Request("MM_EmptyValue")
End If
%>
<%
Dim Recordset1
Dim Recordset1_cmd
Dim Recordset1_numRows

Set Recordset1_cmd = Server.CreateObject (")
Recordset1_cmd.ActiveConnection = MM_shuju_STRING
Recordset1_ = "SELECT * FROM zhucejilu WHERE [编号] = ? ORDER BY [编号] DESC"
Recordset1_cmd.Prepared = true
Recordset1_cmd.Parameters.Append Recordset1_cmd.CreateParameter("param1", 5, 1, -1, Recordset1__MMColParam) ' adDouble

Set Recordset1 = Recordset1_cmd.Execute
Recordset1_numRows = 0
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.
<html xmlns="http://www.
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>无标题文档</title>
<style type="text/css">

*{ padding:0; margin:0;}
body{
    font-size:13px;
    line-height:160%;
    color:#666;
    background-image: url(images/%E7%99%BB%E5%BD%95.jpg);
}
a{ text-decoration:none; color:#333;}
h3{ background:#666; color:#f6f6f6; padding:0px 10px; font-size:13px;}
p{ text-indent:24px;}
h2{font-size:18px; font-weight:bold; text-align:center; border-bottom:1px #ccc solid;}

#outer{ width:760px; margin:0 auto;}
#top{ height:80px;}
.top_nav{height:20px; text-align:right; line-height:20px; padding-right:5px; font-size:12px;}
.logo{ width:200px; float:left;}
.logo a{ width:200px; height:60px; display:block;}
.banner{ width:560px; float:right; text-align:right;}
.banner img{ width:560px; height:60px; border:none;}

#nav{ height:30px; margin-top:5px;}
#nav ul{ list-style-type:none; background:#333; color:#f6f6f6;}
#nav ul li{ float:left; width:100px; text-align:center; line-height:30px; height:30px; border-right:1px solid #555;}
#nav ul li a{ display:block; width:100px; height:30px; color:#f6f6f6;}
#nav ul li a:hover{ background:#666; color:#fff; font-weight:bold;}

</style><script src="../../../SpryAssets/SpryValidationPassword.js" type="text/javascript"></script>
<script>
function userLogin(){
 var userName = document.getElementById("userName").value;
 var password = document.getElementById("password").value;

 if( userName!= password){
  alert("密码不一致!");
 }else{
  alert("注册成功 ! 欢迎您管理者LIUZONG!");
  window.location.href="denglu.asp"
 }

}
</script>
</head>

<body>
<table width="558" border="1" align="center">
  <tr>
    <th scope="col"><a href="../首页/网上花店.html">首页</a>&gt;<a href="个人注册.html">个人注册中心</a></th>
  </tr>
</table>
<table width="558" height="363" border="1" align="center">
  <tr>
    <th height="23" scope="col">&nbsp;</th>
    <th scope="col"><p>以下资料请如实填写,对外严格保密(带*号的为必填)</p></th>
    <th scope="col">&nbsp;</th>
  </tr>
  <tr>
    <th width="35" scope="col">&nbsp;</th>
    <th width="470" scope="col"><table width="470" border="1">
      <tr>
        <th width="460" scope="col"><div align="left">用户名:
          <input type="text" name="TEXT1" id="TEXT1" />
          <span class="A1">* </span></div>
          </div>
<label for="textfield"></label>
          <div align="left"></div>
       </th>
      </tr>
      <tr>
        <td><div align="left">密码:
          <input type="password" name="userName" id="userName" />
          <span id="sprypassword4"><span class="passwordRequiredMsg">需要输入一个值。</span></span>
          <label for="textfield2"></label>
        </div>
          <span id="sprypassword3">
            <label for="password3"></label>
          </span>
          <div align="left"></div>
          <div align="left"></div>
       </td>
      </tr>
      <tr>
        <td><div align="left">验证密码:
          <input type="password" name="password" id="password" />
          <span id="sprypassword5"><span class="passwordRequiredMsg">需要输入一个值。</span></span><span class="A1">*</span>
          <label for="textfield2"></label>
        </div>
          <span id="sprypassword1">
            <label for="password1"></label>
          </span>
          <div align="left"></div>
       </td>
      </tr>
      <tr>
        <td><label for="textfield10"></label>
            <div align="left">
              真实姓名:
              <input type="text" name="textfield2" id="textfield10" />
              <label for="textfield11"></label>
              <span id="sprypassword2">
              <label for="password4"></label>
              <span class="passwordRequiredMsg">需要输入一个值。</span></span> <span class="A1">*</span>
              <label for="textfield12"></label>
            </div>
            <div align="left"></div>
       </td>
      </tr>
      <tr>
        <td><div align="left">性别:
          <select name="select" id="select">
            <option>男</option>
            <option>女</option>
            <option>兽</option>
          </select>
          <span class="A1">* </span> </div>
          </div>
<label for="select"></label>
          <div align="left"></div>
        </td>
      </tr>
      <tr>
        <td><div align="left">住址:
          <input type="text" name="textfield5" id="textfield5" />
          <span class="A1">*</span></div>
          </div>
<label for="textfield5"></label>
          <div align="left"></div>
       </td>
      </tr>
      <tr>
        <td><div align="left">邮编:
          <input type="text" name="textfield6" id="textfield6" />
          <span class="A1">* </span> </div>
          </div>
<label for="textfield6"></label>
          <div align="left"></div>
        </td>
      </tr>
      <tr>
        <td height="32"><div align="left">联系电话:
          <input type="text" name="textfield7" id="textfield7" />
          <span class="A1">* </span> </div>
          </div>
<label for="textfield7"></label>
          <div align="left"></div>
       </td>
      </tr>
      <tr>
        <td height="34"><div align="left">E-mail:
          <input type="text" name="textfield8" id="textfield8" />
          <span class="A1">*</span> </div>
          </div>
<label for="textfield8"></label>
          <div align="left"></div>
        </form></td>
      </tr>
    </table>
      <table width="466" height="27" border="1">
        <tr>
          <th scope="col">
            <input onclick="userLogin()" type="submit" name="button" id="button" value="新用户注册"  />
            <input type="reset" name="button2" id="button2" value="重新填写" />
         </th>
        </tr>
      </table>
    <p>&nbsp;</p></th>
    <th width="31" scope="col">&nbsp;</th>
  </tr>
</table>
<script type="text/javascript">
var sprypassword1 = new Spry.Widget.ValidationPassword("sprypassword1");
var sprypassword2 = new Spry.Widget.ValidationPassword("sprypassword2");
var sprypassword3 = new Spry.Widget.ValidationPassword("sprypassword3");
</script>
</body>
</html>
<%
Recordset1.Close()
Set Recordset1 = Nothing
%>
搜索更多相关主题的帖子: align left div label for 
2017-10-31 14:25
z102379
Rank: 1
等 级:新手上路
帖 子:3
专家分:0
注 册:2017-10-31
收藏
得分:0 
他说错误在21 行
2017-10-31 14:25
z102379
Rank: 1
等 级:新手上路
帖 子:3
专家分:0
注 册:2017-10-31
收藏
得分:0 
没人么? 救命啊  在线等
2017-10-31 14:31
快速回复:参数不足 期待为2.我真是弄不出来了
数据加载中...
 
   



关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.018160 second(s), 8 queries.
Copyright©2004-2024, BCCN.NET, All Rights Reserved