populate combo in asp -
07-18-2003
, 11:05 AM
Can someone please tell me what they think is wrong with this code to
populate a combo :
<select name="select">
<%
While ((Repeat1__numRows <> 0) AND (NOT rsBranches.EOF))
%>
<option
value="<%=(rsBranches.Fields.Item("BRANCHNAME").Va lue)%>"><%=(rsBranches.Fie
lds.Item("BRANCHNAME").Value)
%>
</option>
<%
Repeat1__index=Repeat1__index+1
Repeat1__numRows=Repeat1__numRows-1
rsBranches.MoveNext()
Wend
%>
</select>
The combo box never contains anything. |