Clear doubles in listbox

liunx

Guest
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????

thxHow are you populating it? from a database?
If so, then use a DISTINCT in your sql query.
 
Back
Top