Groups | Blog | Home
all groups > dotnet windows forms > january 2006 >

dotnet windows forms : Resetting Combo to original state


Ant
1/31/2006 7:17:47 PM
Hello,

I'm using a combo box and some text boxes on an input form. When the user
submits the input, all the textboxes should be cleared & the combo box reset
to the way it was originally displayed (order desc.)
How do I 'refresh' to combo box to display as it did? It is bound to a
dataset via DisplayMember & ValueMember so it was not filled
programmatically. How do I do this programmatically? (or not?)

Thanks in advance for any clues.
Stoitcho Goutsev (100)
2/1/2006 9:15:13 AM
Ant,

What do you want to do exactly? Do you want to select the initial selected
item or you want to clear the combobox?


--

Stoitcho Goutsev (100)

[quoted text, click to view]

AddThis Social Bookmark Button