Solved

easy combobox problem

Posted on 2006-11-08
3
229 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
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

Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

Question has a verified solution.

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

Suggested Solutions

Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…

832 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