Binding custom objects to dropdown

3

3P

Hi.

What's the best way to bind collection of custom objects to dropdown. The
problem I have is that entity is identified by two columns in database (to
properties in object) and I would like SelectedValue return both. Was
thinking about adding another property joining two other only for dropdown
(dont' like it) or maybe creating anonymous object with that property only
for binding.

How do You do it?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,756
Messages
2,569,540
Members
45,024
Latest member
ARDU_PROgrammER

Latest Threads

Top