Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
MmMoverControl Usage
Message
 
To
20/05/2004 10:34:54
Bob Thomsen
Fabtrol Systems, Inc
Eugene, Oregon, United States
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Miscellaneous
Thread ID:
00904909
Message ID:
00906001
Views:
16
Bob,

Gotcha...I see the problem now. When you specify the BindingSourceDisplayMember and BindingSourceValueMember properties you are specifying the name of a DataTable variable...not the actual name of the DataTable within the DataSet. For example:

"dtAvailableList.BidNumber";

I recommend checking out the mmRole business object source code to see how we're doing this at the Framework level. We have two different DataTables within a single DataSet. Each DataTable has a different name..."UserRoles" is the name of the DataTable that is used to fill the Available list, and NonMembership is the DataTable that is used to fill the Selected list (ultimately we're creating DataViews from these which the lists are bound to, but I'll keep it simple here).

So, in this example, "UserRoles" and "NonMembership" are the table names that would be used when setting the BindingSourceDisplayMember and BindingSourceValueMember properties.

Regards,
Kevin McNeish
Eight-Time .NET MVP
VFP and iOS Author, Speaker & Trainer
Oak Leaf Enterprises, Inc.
Chief Architect, MM Framework
http://www.oakleafsd.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform