写入数据库出错了
帮忙看看为什么写入的时侯出错了呢,谢谢.<%
database="user.mdb"
strconn="provider=microsoft.jet.oledb.4.0;data source="&server.mappath(database)
set conn=server.CreateObject("adodb.connection")
%>
<%
conn.open strconn
response.Write("成功打开数据库")
strsql="insert into user (user_name,user_sex,user_age) values ('龙凤','男','22')"
conn.execute strsql
response.Write("成功写入数据库")
%>