0

How to check an item already entered in a listview if i am entering data from a combo box from both tables for an id as value member...I mean there is both software id and asset id that can be added mixed in the listview based on the group....

2
Contributors
3
Replies
13
Views
4 Years
Discussion Span
Last Post by tinstaafl
0

When you add the items to the listview set the Name property of the item to equal the Text. This way you can use the ContainsKey method to check if it exists.

0

How to check an item already entered in a listview if i am entering data from a combo box from two tables for an id as value member based on group...I mean there is both software id and asset id that can be added in the listview based on the group software and hardware....If software software item with software id else asset item with asset id will be added to listview....How to check duplicate items while adding to listview if so....

0

When you add the items to the listview set the Name property of the item to equal the Text. This way you can use the ContainsKey method to check if it exists.

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.