PC Review


Reply
Thread Tools Rate Thread

Binding IEnumerable derived object

 
 
squeaky88th
Guest
Posts: n/a
 
      27th Jun 2003
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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Need flexibility when binding IEnumerable to ComboBox; still need DataTable? Ronald S. Cook Microsoft C# .NET 8 4th Feb 2008 10:02 PM
Binding a IEnumerable list to a DataGridView? Jeff Microsoft C# .NET 2 9th Jul 2007 07:00 PM
How to typecast the first object from an IEnumerable? craigkenisston@hotmail.com Microsoft C# .NET 1 20th Sep 2006 06:08 AM
Derived Dataset and Datagrid binding =?Utf-8?B?VmxhZCBBLg==?= Microsoft ADO .NET 4 11th Jan 2005 10:20 AM
Binding IEnumerable derived object squeaky88th Microsoft Dot NET Framework 0 27th Jun 2003 04:08 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:53 AM.