www.webdeveloper.com
Results 1 to 2 of 2

Thread: Clear doubles in listbox

  1. #1
    Join Date
    Feb 2005
    Location
    Belgium
    Posts
    79

    Clear doubles in listbox

    Hi

    I have populated a asp:listbox with some text and values. But sometimes I have duplicate values. How Do i delete the double values in my listbox?

    use a foreacch or something????

    thx

  2. #2
    How are you populating it? from a database?
    If so, then use a DISTINCT in your sql query.
    Being educated does not make you intelligent.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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



Recent Articles