是这个addeluser.asp <!-- #Include File=Conn.asp --> <% dim userid,sql response.buffer=true Response.Expires=0 if session("adpass")<>"passed" then response.redirect "adlogin.asp" end if userid=Request.Querystring("id")
sql="delete * from info where trim(Cstr(用户名))='"&userid&"'"
set rs=conn.execute (sql)
Response.Write "<html><body><center>成功删除!<p>" Response.Write "<a href=adlist.asp>返回查看</a>" Response.Write "</center></body></html>" Conn.Close Set Conn=Nothing %>
userid=Request.Querystring("id")
response.write(userid) '看看userid的值
sql="delete * from info where trim(Cstr(用户名))='"&userid&"'"
response.write(sql)'sql的值
response.end()