Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

easy combobox problem

Posted on 2006-11-08
3
Medium Priority
?
235 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 2000 total points
ID: 17900904
ComboBox.Items[0] will get you the first one...am I missing something here ?
0
 

Author Comment

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

Expert Comment

by:ozymandias
ID: 17900963
Hooray ! I am not missing anything....I am COMPLETE !

Thanx for the poinx :)
0

Featured Post

How to Use the Help Bell

Need to boost the visibility of your question for solutions? Use the Experts Exchange Help Bell to confirm priority levels and contact subject-matter experts for question attention.  Check out this how-to article for more information.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
Loops Section Overview
Despite its rising prevalence in the business world, "the cloud" is still misunderstood. Some companies still believe common misconceptions about lack of security in cloud solutions and many misuses of cloud storage options still occur every day. …
Suggested Courses

810 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