28,406
社区成员
发帖
与我相关
我的任务
分享
<!--#include file="articleconn.asp"-->
<%
id=request("id")
sql="delete from 表名 where id='"&id&"' " 'id是数值还是string? 如果是字符串应该是 sql="delete from 表名 where id="&id
conn.execute(sql)
conn.close
set conn=nothing
%>
<!--#include file="articleconn.asp"-->
<%
id=request("id")
sql1="delete from 表名1 where id="&cint(id)
conn.execute(sql1)
conn.close
set conn=nothing
%>