比如定义一个数组a(5)
a(0)="二保" a(1)="一保" ...
<%
for i=0 to 4
...
strrst="select * from fix where 修理内容 like%二保%"
...
next%>
这个strrst="select * from fix where 修理内容 like%二保%" 语句该如何代换?
sorry,
strrst="select * from fix where 修理内容 like%"&a(0)&"%"
<%
a(0)="二保"
a(1)="一保" ...
strrst="select * from fix where 修理内容 like%"&a(0)"% "
for i=1 to 4
strrst=strrst&"or 修理内容 like%"&a(i)"% "
next
%>
?