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
Loading
Mahesh ChandPosted Jun 24, 2010, 7:54 AM
Here is a sample:
http://msdn.microsoft.com/en-us/library/system.windows.forms.listbox.selecteditem.aspx
I use them all the time.
Ankur GuptaPosted Jun 24, 2010, 8:45 AM
please Check your controls
Roy SPosted Jun 24, 2010, 7:53 AM
If you just try to access the property, what does it say?