你说的是模糊搜索把。sql="select * from xinxi where 表名="& true & " and 字段 like ' %"&字段&"%' and neirong like ' %"&字段&"%' order by [字段] DESC"然后你输出对应的字段就可以了 比如<%=RS("字段")%>