ASP错误类型:Microsoft VBScript 运行时错误 (0x800A01A8)缺少对象: ''
代码如下:DimMn_conn_STRINGMn_conn_STRING="PROVIDER=SQLOLEDB;DATASOURCE=(local);UID=sa;PWD...
代码如下: Dim Mn_conn_STRING
Mn_conn_STRING = "PROVIDER=SQLOLEDB;DATA SOURCE=(local);UID=sa;PWD=wang;DataBase=search1"
conn.open
exec="delete from news where title='"&request.form("title")&"'"
conn.execute exec
conn.close
set conn=nothing
response.write "记录删除成功!" 展开
Mn_conn_STRING = "PROVIDER=SQLOLEDB;DATA SOURCE=(local);UID=sa;PWD=wang;DataBase=search1"
conn.open
exec="delete from news where title='"&request.form("title")&"'"
conn.execute exec
conn.close
set conn=nothing
response.write "记录删除成功!" 展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询