Displaying string variable in editable portion of ComboBox
I have some value in variable string var="some text";
i have bind the combobox with list but during loadoing of form i want var
t开发者_如何学Pythono be displayed
in editable portion of Combobox...
Thanks in advance!!!!
if var
is part of your list then: yourcombobox.SelectedText=var
if not: yourcombobox.Text=var
精彩评论