How to pass a hide int value whenever i change the value of the dropdownlist in How to do?

In order to fill a dropdownlist with two value as (id, value) in an application. When populating the dropdownlist, the id should be hidden. when an item is selected, that id has to be passed as internally. How can this be done?

Powered by Y! Answers