设为首页收藏本站

新微赢技术网

 找回密码
 注册
搜索
热搜: 回贴
查看: 30|回复: 1
打印 上一主题 下一主题

问一下ASP问题?

[复制链接]
跳转到指定楼层
1#
发表于 2009-12-27 01:12:44 | 只看该作者 回帖奖励 |正序浏览 |阅读模式
我的的网页出问题?提示错误是这样的:错误类型:
Microsoft JET Database Engine (0x80040E09)
不能更新。数据库或对象为只读。
/cl_addnew_txjl.asp, 第 28 行

浏览器类型:
Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; TencentTraveler )
网页:
POST 347 ??? /cl_addnew_txjl.asp
POST Data:
txjl_name=%D1%EE%D3%C2&txjl_xb=%C4%D0&txjl_ln=17&txjl_xl=%D6%D0%D7%A8&txjl_zy=%D1%A7%C9%FA&txjl_ywgx=%CD%AC%D1%A7&txjl_sj=13637458994&txjl_dh=6745325&txjl_qq=382048117&txjl_oicq=33335345&txjl_eamil=hn . . .
原程序是这样:<title>处理addnew_txjl.asp</title>
<%
if request.form("txjl_name")<>"" and request.form("txjl_xb")<>"" and request.form("txjl_xl")<>"" and request.form("txjl_zy")<>"" and request.form("txjl_ywgx")<>"" and request.form("txjl_sj")<>"" and request.form("txjl_dh")<>"" and request.form("txjl_qq")<>"" and request.form("txjl_oicq")<>"" and request.form("txjl_eamil")<>"" and request.form("txjl_qxdz")<>"" and request.form("txjl_grzy")<>"" then
%>
<!--#include file="link_database.asp"-->
<%set addnewrs=server.createobject("ADODB.Recordset")%>
<%
addnewsql="select * from txjlbiao "
addnewrs.open addnewsql,dchconn,1,3

Dim txjl_name,txjl_xb,txjl_ln,txjl_xl,txjl_zy,txjl_ywgx,txjl_sj,txjl_dh,txjl_qq,txjl_oicq,txjl_eamil,txjl_qxdz,txjl_grzy
'以下添加记录
'txjl_name=request.form("txjl_name")
'txjl_xb=request.form("txjl_xb")
'txjl_xl=request.form("txjl_xl")
'txjl_zy=request.form("txjl_zy")
'txjl_ywgx=request.form("txjl_ywgx")
'txjl_sj=request.form("txjl_sj")
'txjl_dh=request.form("txjl_dh")
'txjl_qq=request.form("txjl_qq")
'txjl_oicq=request.form("txjl_oicq")
'txjl_eamil=request.form("txjl_eamil")
'txjl_qxdz=request.form("txjl_qxdz")
'txjl_grzy=request.form("txjl_grzy")
addnewrs.addnew
addnewrs("txjl_name")=request.form("txjl_name")
addnewrs("txjl_xb")=request.form("txjl_xb")
addnewrs("txjl_xl")=request.form("txjl_xl")
addnewrs("txjl_zy")=request.form("txjl_zy")
addnewrs("txjl_ywgx")=request.form("txjl_ywgx")
addnewrs("txjl_sj")=request.form("txjl_sj")
addnewrs("txjl_dh")=request.form("txjl_dh")
addnewrs("txjl_qq")=request.form("txjl_qq")
addnewrs("txjl_oicq")=request.form("txjl_oicq")
addnewrs("txjl_eamil")=request.form("txjl_eamil")
addnewrs("txjl_qxdz")=request.form("txjl_qxdz")
addnewrs("txjl_grzy")=request.form("txjl_grzy")
addhewrs("txjl_date")=request.form("date()")
addnewrs.update
%>
<%
else
response.write "<script language=javascript>alert('请将你的信息\n填写完整……');self.location=(""index.asp"")</script>"
response.write "<a gref='addnew_txjl.asp'>重新添加</a>"
end if
%>
<%
'addnewrs.close
'set addnewrs=nothing
'dchconn.close
'set dchconn=noting
%>
您需要登录后才可以回帖 登录 | 注册

本版积分规则

申请友链|小黑屋|最新主题|手机版|新微赢技术网 ( 苏ICP备08020429号 )  

GMT+8, 2024-11-20 07:38 , Processed in 0.119573 second(s), 9 queries , Gzip On, Memcache On.

Powered by xuexi

© 2001-2013 HaiAn.Com.Cn Inc. 寰耽

快速回复 返回顶部 返回列表