Since we know almost nothing about what you want, I can only offer this:
Before adding a value to the combobox, check to make sure it's not already in there.
Offtopic, and quite informally.... LOL
For our little buddy above. If you are using c#/vb code to make this combo box, and its not dynamically created through javascript or some other script language, you can do it on page load after the object is made by iterating through each item in the combobox and seeing if the item is already there, deleting the item if it is. Something like:
-
for(int i = 0; i < comboBox.Items.Count; i++)
-
{
-
for(int y = 0; y < comboBox.Items.Count; y++)
-
{
-
if( y != i && comboBox.Items[i].Text == comboBox.Items[y].Text)
-
{
-
comboBox.Items.RemoveAt(i);
-
break;
-
}
-
}
-
}
-