Author: bluelinenetworks | Posted on: 11/11/2009 3:21:40 PM | Views : 310

Hi all,
 
I have a dropdown list with 4 items in it.  I want to be able to dynamically choose which one is selected without databinding.
I have tried:
For i = 0 To 2 If cboSD.Items(i).Value = strSchoolType Then cboSD.Items(i).Selected = True i = i + 1 Next
but I get
Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index
Any thoughts? 
...

Go to the complete details ...