标题: 怎么取到ID值呀? [打印本页] 作者: Оo水流影在. 时间: 2010-1-14 00:54 标题: 怎么取到ID值呀? set rs=server.createobject("adodb.recordset")
sql="select * from person where (id is null) "
rs.open sql,conn,1,3
rs.addnew
rs("question")=request.form("question")
rs("answer")=request.form("answer")
rs("dateandtime")=date()
rs.update