if request("action")="delform" then id=request("id")set rs=server.createobject("adodb.recordset")sql="delete *FROM tousu Where id="&request("id")rs.open sql,secondconn,1,1session("reg")="del"rs.close end ifset rs=nothing改成if request("action")="delform" then id=request("id")sql="delete *FRO