Results 1 to 2 of 2
  1. #1
    Join Date
    Feb 2013
    Posts
    1

    Duplicate Data in CheckedListBox

    Good evening!
    Is it possible to remove duplicate data in the CheckedListBox?

    [img]

    Like the one in the Client. There are 2 Uru's. Is it possible to remove the other Uru?

  2. #2
    Join Date
    Jun 2004
    Location
    Arizona, USA
    Posts
    1,844
    Well, where is the data coming from? If it's a database, write your query so as to not retrieve duplicate information.

    If it's from somewhwere else, why not append the data to a string array first, but before adding to the array, check it against all earlier values saved in the array. If it's already there, don't add a new element. Then, after all are checked, copy the contents of the array to the listbox.
    Lou
    使大吃一惊
    "Lisa, in this house, we obey the laws of thermodynamics!" - Homer Simpson
    "I have my standards. They may be low, but I have them!" - Bette Middler
    "It's a book about a Spanish guy named Manual. You should read it." - Dilbert


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •