c# - How to Print Text from ComboBox into a MessageBox -


will work using c#. trying text out of combobox compare , use. want text selected in combobox , put in string.

string mytext = ""; mytext = combobox1.getitemtext(combobox1.selecteditem); messagebox.show(mytext); 

i new, use help.

as far remember work you:

mytext = combobox1.text;


Comments

Popular posts from this blog

mod rewrite - Using "?" when rewriting the URL -

.htaccess: Transfer name to index.php if not directory public -

Admob integration with pygame in android -