回 帖 发 新 帖 刷新版面

主题:[原创]郁闷ing~!麻烦大侠帮看下哪错了!~

Microsoft VBScript 运行时错误 '800a000d' 

类型不匹配: 'rs' 

\add.asp, line 20



--------------------------------------------------------------------------------
Host by NetBox Version 2.7 Build 4126 


出现的是这个情况~下面是add.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">
<!--
body {
    background-color: #CCFFFF;
    margin-left: 0px;
    margin-top: 0px;
    margin-right: 0px;
    margin-bottom: 0px;
}
-->
</style></head>

<body>
<div align="center">
<form id="form1" name="form1" method="post" action="add_save.asp?id=<%=rs("id")%>">
  <table width="500" border="1" cellspacing="10" cellpadding="0">
    <tr>
      <th colspan="3" scope="col"><div align="center">添加新主题</div></th>
      </tr>
    <tr>
      <td width="120"><div align="right">主&nbsp;&nbsp;题&nbsp;&nbsp;标&nbsp;&nbsp;题:</div></td>
      <td colspan="2"><div align="left">
        <input name="title_h" id="title_h" type="text" size="25" />
      </div></td>
      </tr>
    <tr>
      <td valign="top"><div align="right">主&nbsp;&nbsp;题&nbsp;&nbsp;内&nbsp;&nbsp;容:</div></td>
      <td colspan="2"><div align="left">
        <textarea name="content_h" cols="30" rows="10"></textarea>
      </div></td>
      </tr>
    <tr>
      <td><div align="right">添&nbsp;加&nbsp;人&nbsp;姓&nbsp;名:</div></td>
      <td colspan="2"><div align="left">
        <input name="addname_h" id="addname_h" type="text" size="25" />
      </div></td>
    </tr>
    <tr>
      <td>&nbsp;</td>
      <td colspan="2"><input type="submit" name="Submit" value="提交" />
        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
        <label>
        <input type="reset" name="Submit2" value="重置" />
        </label></td>
    </tr>
  </table>   
  </form>
</div>
</body>
</html>

回复列表 (共2个回复)

沙发

<form id="form1" name="form1" method="post" action="add_save.asp?id=<%=rs("id")%>">
这里的rs从什么地方来?

板凳

明白了

我来回复

您尚未登录,请登录后再回复。点此登录或注册