数据入库的问题
set rs=server.createobject("adodb.recordset")
sql ="select * from page where 姓名 = '"&N&"'"
rs.open sql,conn,1,2
If not rs.EOF Then
response.write "<script>alert('已经存在.');location.href='javascript:history.back()';</script>"
response.end
Else
rs.AddNew
rs("姓名")=busN
rs("性别")=busT
rs.Update
end if
请问该程序执行到rs.AddNew处就不能往下面执行了,是什么原因?(其他的变量都有值)