inicio sindicaci;ón

http://okev.in/role-of-police-in-maintaining-law-and-order-essay/

ASP+Oracle的程序,运行时总出现这样的提示:

“Microsoft VBScript 运行时错误 (0x800A01A8)
缺少对象: ‘Provider=OraOLEDB.Or’”

原程序如下:

emp_name=request.form("emp_name")
p_type=request.form("p_type")
p_description=request.form("p_description")
p_time=request.form("p_time")
exec="insert into service(id, file_number, emp_name, p_type, p_description, p_time, p_status) values ('"&TempID&"', '"&emp_name&"', '"&p_type&"', '"&p_description&"', '"&p_time&"', 'NEW')"
conn.execute exec

修改后的程序如下:

rs.addnew
rs("id")=id
rs("emp_name")=request.form("emp_name")
rs("p_type")=request.form("p_type")
rs("p_description")=request.form("p_description")
rs("p_time")=request.form("p_time")
rs("p_status")="NEW"
rs.update

顺利通过!

可见基本功是多么重要啊,基本功不好只能东抄西抄,等待你的只有无数的错误和BUG!

http://okev.in/eharmony-profile-writing-service/ Response Trackback

Leave a Reply