% InfoID=FixID(request("InfoID")) sql="select * from INFO_InfoContent_view where InfoID="&InfoID rs.open sql,conn,3,1 if not rs.eof then conn.execute "update INFO_InfoContent set hits=hits+1 where InfoID="&InfoID InfoTypeDescription=rs("InfoTypeDescription") Topic=rs("Topic") Author=rs("Author") Content=rs("Content") ModifyTime=rs("ModifyTime") hits=rs("hits") else msg="未找到相关记录!" end if rs.close %>
|