Hi All,
Can someone tell me how to set the selected text of a combobox on windows form with C#. If the combobox is unbound ie. has a static item list then combobox1.selected.text = "mtetxt"; works fine. However when the box is databound to a list from a database this does not work. I could use selectedindex but my database list may change, therefore changing the required index. I have found some other forums suggesting this is a glitch with the combobox object but offer no workaround.
Any help with this would be greatly appreciated.