标题:错误类型:Microsoft JET Database Engine (0x80040E10)
取消只看楼主
fengmnll
Rank: 1
等 级:新手上路
帖 子:79
专家分:3
注 册:2008-11-6
结帖率:85.71%
 问题点数:0 回复次数:0 
错误类型: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



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




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

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