On Error Resume NextSet RS = Server.createObject ("AdoDb.Recordset") rs.open "Select * from t_student where id = 0", my_conn, 1,3rs.addnewrs ("studentID") = "98106" rs ("StudentName ") =" gzp "rs (" studentclass ") =" 2 "
rs.Updateif err.number = 0 ThenResponse.write ("ok") ELSE
Response.write ("sorry") endiff