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

css - Which browser returns the correct result for getBoundingClientRect of an SVG element? -

gcc - Calling fftR4() in c from assembly -

Function that returns a formatted array in VBA -