if request("del")="user" then
set rs=server.createobject("adodb.recordset")
id=Request.QueryString("username")
sql="select * from Member where M_User='"&id&"'"
rs.open sql,MM_Coon_STRING,2,3
rs.delete
rs.update
rs.close
set rs=nothing
Response.redirect(request.servervariables("http_referer"))
end if
'删除新闻
if request("del")="news" then
set rs=server.createobject("adodb.recordset")
id=Request.QueryString("id")
sql="select * from News where M_id="&id
rs.open sql,MM_Coon_STRING,2,3
rs.delete
rs.update
rs.close
set rs=nothing
Response.redirect(request.servervariables("http_referer"))
end if
'删除产品
if request("del")="product" then
set rs=server.createobject("adodb.recordset")
id=Request.QueryString("id")
sql="select * from Products where M_id="&id
rs.open sql,MM_Coon_STRING,2,3
rs.delete
rs.update
rs.close
set rs=nothing
Response.redirect(request.servervariables("http_referer"))
end if
'审核订单
if request("check")="yes" then
set rs=server.createobject("adodb.recordset")
id=Request.QueryString("id")
sql="select * from D_Order where M_id="&id
rs.open sql,MM_Coon_STRING,1,3
rs("M_check")=1
rs("M_checktime")=now()
rs("M_checkid")=session("jUser")
rs.update
rs.close
set rs=nothing
Response.redirect(request.servervariables("http_referer"))
end if
%>作者: οしαУ′颴 时间: 2010-1-16 02:37
是不是其他原因
你用delete from …… 看看
或者用response.write("OK"):response.end调试以下作者: 新郎 时间: 2010-1-16 02:38
IIS6.0是用2003的吗?2003要开启父路径作者: ☆冬虫草☆ 时间: 2010-1-16 02:38
response.write("OK"):response.end调试过,只要放在rs之后就不能执行…………