[求助]这个有错吗?
dim conn dim connstr
on error resume next
mdb="data.mdb"
connstr="Provider=Microsoft.Jet.OLEDB.4.0;DATA Source="&Server.MapPath(mdb)
set conn=server.createobject("ADODB.CONNECTION")
conn.open connstr
sql="insert into user (userid,name)"
sql=sql&"values('2','yangmincong')"
set rs=conn.execute(sql)
conn.close
set conn=nothing
为什么数据库里没有多出一条记录呢?!