Click here to Skip to main content
15,116,516 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
Hello Pals,
I want to add only distinct values to a Listitem.(Answer Only For Listitem not for Others)
Any one Knows den post it or send me link.
Posted
Comments
Richard MacCutchan 17-Aug-13 5:09am
   
Then make sure all the items you add are unique.
Member 9549287 17-Aug-13 6:32am
   
you can do that by making sure the itemsource items are unique. use the .Distinct().Tolist() to achieve that for system variables or create a stub for objects
CodeBlack 19-Aug-13 0:35am
   
how do you bind your list items ? Do you use Lambda Expressions ?
Kurt Muellner 21-Aug-13 11:32am
   
Could you send us your source code, maybe we can develop a solution for you

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)




CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900