iam reading a xml file and adding these value into combo box.The combo box now has duplicate values ,when displaying in combo box i should not display duplicate values .how do i do it?
duplicate entries in combo box
Collapse
X
-
Originally posted by tripsiam reading a xml file and adding these value into combo box.The combo box now has duplicate values ,when displaying in combo box i should not display duplicate values .how do i do it?
Can be a pain solvong these, stay tuned to see what you can gather.
In a bit! -
Originally posted by lotus18Hi trips
Can you show us what have you done so far? So that we'll try to bring out the solution to your problem : )
Rey Sean
If (aXmlNodeList.l ength > 0) Then
For ii = 0 To (aXmlNodeList.l ength - 1)
aValue = aXmlNodeList.It em(ii).selectSi ngleNode("Role" ).Text
Combo1.AddItem (aValue)
Next
If (Combo1.ListCou nt > 0) Then
Combo1.Text = Combo1.List(0)
End IfComment
Comment