<%
sql="insert into [user](username,password,email,address) values ('"&username&"','"&password&"','"&email&"','"&address&"')"
on error resume next
conn.execute (sql)
if err.number=0 then
response.write("注册成功!")
else
'response.write err.description
response.write("失败")
end if
%>
明明是提示成功,但查看数据库里却没有插入新值,真怪!