|
-
Jun 28th, 2006, 10:46 AM
#1
New Member
Re: ComboBox and updating data
I experienced a similar error - when I add an item to the combobox's datasource, the display in the collection turns to "AssemblyName.ClassName". Here's how I overcame the bug:
cmbStudyTracks.DataSource = Nothing
cmbStudyTracks.DataSource = _studyTracks
cmbStudyTracks.DisplayMember = "Name"
cmbStudyTracks.ValueMember = "ID"
Works fine now.
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
|
Click Here to Expand Forum to Full Width
|