标题:[求助]代码 出错
只看楼主
folake
Rank: 1
等 级:新手上路
帖 子:73
专家分:0
注 册:2006-2-15
 问题点数:0 回复次数:1 
[求助]代码 出错

<%
Dim Cnn,objrs,sql

Set Cnn = Server.CreateObject("ADODB.Connection")
cnn.open = "Driver={Microsoft Access Driver (*.mdb)};"&" DBQ=" & Server.MapPath("../store.mdb")
set objrs=server.createobject("adodb.recordset")
sql="select proname,prointro,data,company,address,fax,tel,person,E-mail,QQ,interaddress,companyintro from tbbuy "
objrs.open sql,cnn,2,3
response.write "success"
dim proname,prointro,data,company,address,fax,tel,person,E-mail,QQ,interaddress,companyintro 显示这里出错,搞不懂,那位大哥可以告诉我啊
proname=request("proname")
prointro=request("prointro")
data=request("data")
company=request("company")
address=request("address")
fax=request("fax")
tel=request("tel")
person=request("person")
E-mail=request("E-mail")
QQ=request("QQ")
interaddress=request("interaddress")
companyintro=request("companyintro")
objrs.addnew array("proname","prointro","data","company","address","fax","tel","person","E-mail","QQ","interaddress","companyintro")_
array(proname,prointro,data,company,address,fax,tel,person,E-mail,QQ,interaddress,companyintro)
objrs.updata

%>

搜索更多相关主题的帖子: 代码 
2006-02-22 20:19
conn
Rank: 2
等 级:新手上路
威 望:5
帖 子:420
专家分:0
注 册:2005-11-27
得分:0 

帖出详细的错误信息!


我是新手,但我很虚心,对我发的问题请不要取笑,谢谢
2006-02-22 21:07



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




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

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