![]() |
#2
不夜星空2008-05-11 18:08
|
dim room_id,sql,sql1,rs_del,conn
'接收房间数据------------------
room_id=request("room_id")
if room_id="" then response.Redirect("error.asp")
'删除房间数据--------------------
set rs_del=server.CreateObject("adodb.recordset")
sql = "delete from room where room_id=" & room_id
conn.execute sql 第 23 行
sql1="deleete from preengage where room_id="& room_id
conn.execute sql1
rs_del.open sql,sql1,hotel_conn,3,2
运行时总是出现
Microsoft VBScript 运行时错误 (0x800A01A8)
缺少对象: ''
/1/del.asp, 第 23 行
[[it] 本帖最后由 yangziyang 于 2008-5-11 19:09 编辑 [/it]]