Binding IEnumerable derived object

S

squeaky88th

This is more of a why question then how.

When I bind a key-value collection to a control, I know to set
DataTextField and DataValueField to key and value. Although I know
how to do this, I can't find where in the MSDN Library this is
documented. I only know this from books and Usenet.

Upon checking objects like Hashtable and ListDictionary via wincv, I
cannot find the properties named key and value, although keys and
values exist.

How does a control find the key and value fields in a collection?
Thanks in advance.
 

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

Top