Rajesh Patel said:
it should work. may be u can post some more code over here. what is the
style of cbolevel?
Rajesh Patel
The style of cboLevel is DropDown. It's filled with business objects that
contain an ID field and a Description field. ID is the ValueMember and
Description is the DisplayMember. In this case, ID goes from 1 to 4, and I
am attempting to set the SelectedValue to 4.
cboLevel.SelectedValue = 4
Hmmmmm.... I just thought of something, not sure if this would affect the
ComboBox, but the ID field in the business object I'm using is ReadOnly. I
don't see why this would have any effect, but maybe that is the problem.
Any ideas?
Mike