日期:2014-05-16 浏览次数:21055 次
<%
session("sales")="A
------解决方案--------------------
B
------解决方案--------------------
C"
Dim arr
arr=Split(session("sales"),"
------解决方案--------------------
")
sql="select * from [orders] kai_sales='"&Join(arr,"' or kai_sales='")&"'"
sql="select * from [orders] kai_sales in('"&Join(arr,"','")&"')" '二选一
%>