PC Review Forums Newsgroups Microsoft DotNet Microsoft Dot NET Framework Binding IEnumerable derived object

Reply

Binding IEnumerable derived object

 
Thread Tools Rate Thread
Old 27-06-2003, 05:08 PM   #1
squeaky88th
Guest
 
Posts: n/a
Default Binding IEnumerable derived object


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.
  Reply With Quote
Reply



Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off