TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Daniel
NA
66
0
Combobox display issue: SelectedValue
Jun 18 2007 2:57 PM
I have a combobox on a form that is bound to a datatable. I am setting the SelectedItem property. The text (DisplayMember) is not displayed when I do this. I have also tried to set the SelectedIndex as well. Neither worked. I can set the Combobox.SelectedValue property for every value in the table except for 1. I even tried hardcoding it...Combobox.SelectedValue = 1...that didn't work. Combobox.SelectedValue = 2 works fine. And yes, I do have records in the lookup table corresponding to both 1 and 2. I did find that the actual text (display member) IS changing when I changed the SelectedValue, but it is not displayed in the combo box. Thanks
Reply
Answers (
1
)
Novice Question--How do I put text into the form titlebar?
how do i send a mail from vb.net?