不好意思又来打拢大家了,下面这种代码怎么不能用,不能往数据库里添加东西显示错误
<%
realname=trim(request.form("realname"
)
set rs=server.createobject("adodb.recordset"
sql="select * from user (id is null)"
rs.open sql,conn,1,3
rs.addnew
rs("realname"
=realname
rs.update
rs.close
set rs=nothing
conn.close
set conn=nothing
%>