我要删除记录,前面是这样写的
response.write " <td align= 'center '> " & " <a href= 'delete.asp?classid= "&rs( "mainid ")& " '> 删除 </a> "& " </td> "
怎么样让我的这个记录编号的参数传递到后面?如何写删除sql?
------解决方案--------------------
id = CInt(Request.QueryString( "mainid "))
sql = "DELETE FROM tbl WHERE id = " & id
------解决方案--------------------
request.querystring (classid)
取值的,呵呵