Thanks for the reply gani
I am aware of those members. I am trying to determine the index of a
particular item i.e.
ListItem foundItem = listBox1.items. FindByValue("so meValue");
no that I have the item how do I determine its position in the ListBox. How
do I insert a new item just after it?
Hope that is clear,
S
"gani" <a@a.com> wrote in message
news:%2******** ********@tk2msf tngp13.phx.gbl. ..
i hope this is what you need.
listBox1.Select edIndex --> get selected item's index
listBox1.Items[0] --> access each item
listBox1.Items. Count --> get item count
hope this helps
--
gani
pls visit http://thedeveloperscorner.com.ph
"SamIAm" <sa****@rubbach icken.com> wrote in message
news:O1******** ******@tk2msftn gp13.phx.gbl... Hi
I have a ListBox called lstListOfStuff
I want to get the ordinal position of a ListItem so that I can insert a
new ListItem below it. How do I do this? I cannot find any members to give
me the index position of an item?
Thanks,
S