新手求助asp插入数据的问题
job表结构程序代码:
<%@ LANGUAGE="VBSCRIPT" %> <!--#include file="./conn.asp"--> <% if trim(Request("submit")) = "提交" then dim title dim salary dim num dim sex dim age dim discrip title = Trim(Request("title")) salary = Trim(Request("salary")) num = Trim(Request("num")) sex = Trim(Request("sex")) age = Trim(Request("age")) discrip = Trim(Request("fContent")) set rs=server.createobject("adodb.recordset") sql="select * from job" rs.open sql,conn,1,3 'rs.movelast rs.AddNew rs("title") = title rs("num") = num rs("salary") = salary rs("sex") = sex rs("discrip")= discrip rs.update rs.close set rs=nothing conn.close set conn=nothing response.write "<script> alert('hi'); </script>" end if %>提交表单后,数据库没有数据,大侠们,小弟刚学asp请问哪里不对,呵呵,麻烦指点:)