Fijate de adaptar esto a tus necesidades:
Código:
<%
queIDStr = "200,201,202"
queIDStr = Split(queIDStr, ",")
strSQL = "SELECT * FROM tblPolls WHERE "
For i = 0 To UBound(queIDStr)
If i <> UBound(queIDStr) then
strSQL = strSQL & " id_no = " & queIDStr(i) & " or "
Else
strSQL = strSQL & " id_no = " & queIDStr(i)
End if
Next
Response.Write strSQL
%>
Claro que tendrías que cambiar la línea..
Código:
queIDStr = "200,201,202"
por..
Código:
queIDStr = trim(request.form("id_no"))
Lo hice así para probarlo antes de enviarte el código