Is it possible to filter a dropdown by using a where statement I have the following code for my dropdown
Code:
<option value="<%=(RSdetails.Fields.Item("RepID").Value)%>"><%=(RSdetails.Fields.Item("Name").Value)%></option>
Couls someone explain the correct syntax to add in the code in red
<option value="<%=(RSdetails.Fields.Item("RepID").Value)%>"><%=(RSdetails.Fields.Item("Name").Value)%>[COLOR=red]Where <%=(RSdetails.Fields.Item("Type").Value)= E%>[/color]</option>