The text of this article is not in this database — only its details are. Read it on the old site: ComboBox In C#
21 Comments
Join the conversation! Your thoughts help the community grow.
Sign in to leave a comment.
The text of this article is not in this database — only its details are. Read it on the old site: ComboBox In C#
Join the conversation! Your thoughts help the community grow.
Sign in to leave a comment.
Aniket Niranjan MishraPosted Jun 3, 2020, 3:30 AM
Very helpful tutorial, keep it up
Rushi MehtaPosted Jan 25, 2019, 4:15 AM
Awesome Tutorial
Dharmendra Kumar PanditPosted Jan 24, 2019, 11:33 PM
Easy to understand this explanation.
Rushi MehtaPosted Aug 16, 2018, 11:26 PM
Very Nicely Explained
Hadshana KamalanathanPosted Aug 16, 2018, 12:57 AM
Nice explained
maha lakshmiPosted Aug 13, 2018, 8:19 PM
Thanks for sharing
Guest UserPosted Aug 13, 2018, 8:15 PM
Thanks for sharing
Sandey ChePosted May 23, 2014, 7:55 AM
hi i have taken 3 combo boxes in windows forms application .all 3 boxes contain same items.but i want is when i selected item in the combox is removed from remaining 2boxes. and selected in combx2 is removed from com box 3.please send code to me at "[email protected]"
Ehtesham MehmoodPosted Mar 5, 2014, 3:38 AM
Awsome Tutorial !
miguel hernandezPosted Jun 18, 2013, 10:53 PM
hello, how to refresh a combobox whe i add more data in the database, please, and thanks
manish rohillaPosted Oct 7, 2012, 8:46 PM
i have a three string value in a combobox and each string have a seperate panel all panel visibilty is false . and i want if selected one of the three string then its corresponding panel will show and if i change this value then previous panel visibility get false and new panel visibility gets true . i am trying many tym dont understand how to do.
hollyPosted May 6, 2012, 10:46 PM
ok this explains a lot but still leaves me with a few problems for a calculator i'm making i have a combo box that has the numbers 26-100 and each number has a multiplier for that said number (example. 26 and the multiplier is 2.197000) how would i write the code so that when the number 26 is selected 2.197000 is displayed on a label?
sandeep agarwaleditedPosted May 3, 2012, 6:00 AMEdited May 3, 2012, 6:01 AM
I LIKE THE post very much it has solved my all problems related to combo box and its scroll Specially the Wirdth and Height option to display the larger text values within the combobox Thanks a lot!
Muhammad Mubeen MushtaqPosted Feb 12, 2012, 6:07 AM
if i add 30 items or web addresses in combo box item list and i wish that each item change automatically after 10 sec how can i do that?for example i add www.google.com,www.youtube.com,www.yahoo.com in item list of a combo box for a web browser i want when i run my project www.google.com navigate and after 10 sec 2nd item selected(www.youtube.com) automatically and after 10 sec 3rd item (www.yahoo.com) selected and navigate automatically...and in the last the first item(www.google.com) select again...and so on.....
ravi shankarPosted Jan 18, 2012, 5:57 AM
How to insert "select" option in combo box in windows application default this value is 0 ?
mohan kumarPosted Oct 18, 2011, 6:43 AM
Nice article for beginners....keep it up Mahesh...
Mike JonsonPosted Jul 18, 2011, 4:44 PM
Thanks, very good information.
snehal gawariPosted May 11, 2011, 6:38 AM
how to select one combobox based on another combobox, suppose cities based on states
naveeneditedPosted Sep 1, 2010, 9:50 AMEdited Sep 1, 2010, 9:52 AM
Hello sir , i tried to display selected text in the combo box after creating dynamic button , combo1.SelectedIndexChanged += new EventHandler(comboBOX1_SelectedIndexChanged); private void comboBOX1_SelectedIndexChanged(object sender, EventArgs e) { if (combo1.SelectedIndex != -1) { MessageBox.Show("You have clicked" + combo1.SelectedText); } } here in this Event ,it shows combo1 does not exist,i even tried to declare as - Public void createComboBox() where i created this dynamic combo box but still same problem,that error " como1 does not exist in current document " thanks in advance Naveen ....