Link to home
Start Free TrialLog in
Avatar of Gani tpt
Gani tpt

asked on

How Add and remove list values in the Windows Listview controls.?

Hi,

I am using 2 Listview controls in the windows form.

I am moving values from one list to another list. (either single selection on multiple selection). This will be working fine.

When i'm trying to add the same value in list2, then

"it should not add the duplicate values". without throwing the error it should remove and add only new one.

How to do this....?
Avatar of Vishal Tankariya
Vishal Tankariya
Flag of India image

Hello Ganesh,

Same Item not allowed in listview. if you want to add same item in listview then either you need to change list value or change list text.
Avatar of Gani tpt
Gani tpt

ASKER

it's allowing. that's why i raise a query.

anyhow i want to prevent to add if any duplicate over there...
ASKER CERTIFIED SOLUTION
Avatar of it_saige
it_saige
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Thanks.closing points