Set rs = Server.CreateObject("ADODB.Recordset")
sql="select * from news"
rs.open sql,conn,1,3
rs.addnew
rs("text") =request.form("text2")
rs("time") =request.form("time2")
rs("title")=request.form("title2")
rs("year") =year2 rs.update
rs.close
sql="select * from news"
rs.open sql,conn,1,3
rs.addnew
rs("text") =request.form("text2")
rs("time") =request.form("time2")
rs("title")=request.form("title2")
rs("year") =year2 rs.update
rs.close