Hello all,
I have ListBox and ComboBox.
In VS 2008 I can use property
ListBox1.SelectedIndex and ListBox1.SelectedItem
ComboBox1.SelectedIndex and ComboBox.SelectedItem
But in VS 2010 I can not use this property. Please help me about this property in
VS 2010.
Thank
Mala
ListBox and ComboBox
3 Answers
Know the answer? Post it. Somebody with the same question will find it here.

Mahesh ChandRank #1 · 393.3K reputationPosted Jun 24, 2010, 3:54 AM EDT
Here is a sample:
http://msdn.microsoft.com/en-us/library/system.windows.forms.listbox.selecteditem.aspx
I use them all the time.
Roy S194 reputationPosted Jun 24, 2010, 3:53 AM EDT
If you just try to access the property, what does it say?
Ankur GuptaRank #1,017 · 1.9K reputationPosted Jun 24, 2010, 4:45 AM EDT
please Check your controls