I am really struggling with comboboxes. I have one combobox that uses a database table as the datasource. I am filling the combobox with out issue, and I can retrieve the selectedvalue with out issue, but I can not seem to get the text. When I use the selecteditem instead of the text, I get datarowview? Selectedtext gives me nothing.
On a seperate combobox, I have created the items for the combobox useing combobox.items.addrange and entered the string. This combobox gives me the "selected text" with selecteditem.tostring.
If anyone can help me out with this, I would really appreciate it.In fact these forums are dedicated to web development with ASP.NET thus this is not the place to put these kind of questions. Better places are:
- the 'free for all forum' or the 'C# forum' on this site
- the brother of this site:www.windowsforms.net
Keep up the good work!
0 comments:
Post a Comment