-
ComBoBox Issue
Hi,
I have a Combobox with its databinding set below...
Code BlockmyBindingSource.DataSource = myDS
myTableAdapter.Fill(myDS)
myComboBox.DataSource = myBindingSource
myComboBox.DisplayMember = "Login"
myComboBox.ValueMember = "User"
It binds correctly. However, when I select from the ComboBox, the selected iterm is then in the ComboBox list twice and the first item disappears.
Why is this?
e.g.
comboBox example:
item1
item2
item3
then when i select item 3 and look at the dropdown again it will show
item3
item2
item3
Thanks.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
Bookmarks