Solved

easy combobox problem

Posted on 2006-11-08
3
227 Views
Last Modified: 2010-04-16
I have a combobox which I add a bunch of items to.
ComboBox.Items.AddRange(object [])

Later in the program after I add the Items I want to go back and get the first one in the list (which is stored alphabetically), I think I'm losing my mind because I can't find a simple command to do this.
0
Comment
Question by:ICPooreman
  • 2
3 Comments
 
LVL 15

Accepted Solution

by:
ozymandias earned 500 total points
Comment Utility
ComboBox.Items[0] will get you the first one...am I missing something here ?
0
 

Author Comment

by:ICPooreman
Comment Utility
no you're not missing anything this is just a sign that I need a nap thanks
0
 
LVL 15

Expert Comment

by:ozymandias
Comment Utility
Hooray ! I am not missing anything....I am COMPLETE !

Thanx for the poinx :)
0

Featured Post

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
What are the big features of MVC5? 4 50
Parameter transfer to cristal report 3 50
Linq help 1 16
XML to SQL Table using c# 5 44
Article by: Ivo
Anonymous Types in C# by Ivo Stoykov Anonymous Types are useful when  we do not need to follow usual work-flow -- creating object of some type, assign some read-only values and then doing something with them. Instead we can encapsulate this read…
This article is for Object-Oriented Programming (OOP) beginners. An Interface contains declarations of events, indexers, methods and/or properties. Any class which implements the Interface should provide the concrete implementation for each Inter…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.

771 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now