rs("hits")=request.form("hits")
rs("name")=request.form("name")
rs("count")=request.form("count")
rs("movietype")=request.form("movietype")
rs.update
articleid=rs("articleid") 用下面的语句来替换这句
sql="select @@identity as id"
set rs1=server.createobject("adodb.recordset")
rs1.open sql,conn
if not rs.eof then
articleid=rs("id")
conn.execute sql
end if
rs1.close
rs.close
rs.close
没有那句吗?不是吧,自己写的代码哦?
rs("name")=request.form("name")
rs("count")=request.form("count")
rs("movietype")=request.form("movietype")
rs.update
articleid=rs("articleid") 用下面的语句来替换这句
sql="select @@identity as id"
set rs1=server.createobject("adodb.recordset")
rs1.open sql,conn
if not rs.eof then
articleid=rs("id")
conn.execute sql
end if
rs1.close
rs.close
rs.close
没有那句吗?不是吧,自己写的代码哦?


http://www./