<% dim str str="" if request("keyword")<>"" then str = request("keyword") ... sql="select * from 数据表 where 字段名 like '%"&str&"%'" ... %>