rmmarsh
asked on
Problems with ListViewItem.FindItemWithText
I have a Listview that because of other processing, I loose track of what was selected. I need to update that selection, so I tried FindItemWithText. It isn't working the way I would expect it to.
The first item in the listview is called BookNbr and has an alphanumeric value. I have verified the value I'm searching for, and it does indeed exist in the first column of the Listview.
Is there something I'm missing or misunderstanding?
The first item in the listview is called BookNbr and has an alphanumeric value. I have verified the value I'm searching for, and it does indeed exist in the first column of the Listview.
Is there something I'm missing or misunderstanding?
ListViewItem lvi = dataBasePanel.FindItemWithText(tbBookNbr.Text); // find the item we were working on...
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
The best 500 points I have ever awarded!
Thank you so very much!
Thank you so very much!
You are welcome.
Glad I could assist :).
Glad I could assist :).
Open in new window