ASP模糊查询?

2024-12-31 13:55:48
推荐回答(1个)
回答1:

例子:
xm=trim(request("xm"))
set rs=server.createobject("adodb.recordset")
sql="select * from info where xm like '%"&xm&"%'"
rs.open sql,conn,1,1
%>