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