Try this:
Dim _index As Integer
Dim _Item As New ListItem(DS_Products1.Tables(0).Rows(selIndex).Item("SupplierCode"))
_Item.Value = _Item.Text
_index = Me.DropDownList1.Items.IndexOf(_Item)
DropDownList1.SelectedIndex = _index
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only