How to Empty a drop down list

mike55

Contributor
Joined
Mar 26, 2004
Messages
727
Location
Ireland
Hi all

Quick question, am trying to empty the contents of a dropdown list when the user click the clear button so that there is no data displayed. The piece of code that I am using is
Code:
ddContact.dispose()

However this does not seem to work correctly, now I have check and I have confirmed that I am not reloading the dropdown list after calling this line of code.

Any suggestions??

Mike55
 
Visual Basic:
me.ddContact.Items.Clear

The dispose command just does a final cleanup before releasing the object from memory
 
Back
Top