#12004/6/8 20:30:51
文件class.asp中有这样两段,单击“删除”只是刷新了一下页面,Response.write sql也没有输出,是不是这一段代码的原因???
—————————————————————————————
if Request.QueryString("cmd")="deleb" then
set rs=server.createobject("adodb.recordset")
sql="select * from nclass where newcid="& Request.QueryString("newcid") &""
Response.write sql
rs.open sql,conn,3,3
rs.delete
rs.close
set rs=nothing
end if
—————————————————————————————
<a href=class.asp?do=deleb&newcid=<%=rs("newcid")%>>删除</a>