标题:错误类型:Microsoft JET Database Engine (0x80040E10)
只看楼主
fengmnll
Rank: 1
等 级:新手上路
帖 子:79
专家分:3
注 册:2008-11-6
结帖率:85.71%
 问题点数:0 回复次数:2 
错误类型:Microsoft JET Database Engine (0x80040E10)
<!--#include file="conn.asp" -->
<%
      dim  sql,publish_id,publish_name
      publish_id=Request.Form("publish_id")
      publish_name=Trim(Request.Form("publish_name"))
      set rs=Server.CreateObject("ADODB.Recordset")
      sql="select * from publish where publish_name='"&publish_name&"'"
      rs.open sql,conn,1,3//是这行提示的错误
      if not rs.eof  then
             response.Write"<script> alert('此学生已存在.');history.back(edit_publish.asp);</script>"
             response.Redirect("edit_publish.asp")
             response.End
     else
            rs.addnew
            rs("publish_id")=publish_id
            rs("publish_name")=publish_name
            rs.update
            rs.close
            set rs=nothing
  end if
    response.write "<script language=jscript>alert(记录添加成功!');history.back(edit_publish.asp)</script>"
     response.Redirect("edit_publish.asp")
     response.End()  
%>
错误类型:
Microsoft JET Database Engine (0x80040E10)
至少一个参数没有被指定值。谢谢了
搜索更多相关主题的帖子: Microsoft Engine Database JET 类型 
2010-05-22 14:45
gupiao175
Rank: 16Rank: 16Rank: 16Rank: 16
等 级:版主
威 望:40
帖 子:1787
专家分:7527
注 册:2007-6-27
得分:0 
字段名写错,字段名不存在(数据库里没有这个字段),变量未定义,都可能导致参数未指定!

Q:1428196631,百度:开发地 即可找到我,有事请留言!
2010-05-24 13:08



参与讨论请移步原网站贴子:https://bbs.bccn.net/thread-307723-1-1.html




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

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