Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
BindingSourceMember
Message
From
23/04/2007 23:15:51
 
 
To
All
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Title:
BindingSourceMember
Miscellaneous
Thread ID:
01219178
Message ID:
01219178
Views:
83
Hi!

Have a general question.

To set the BindingSource for a control on a Form e.g. an mmTextBox we click on the elipse (button with ...) and select a BO from the registered BO's on that Form then shouldn't we be selecting the properties of that BO when we click on the elipse to set the BindingSourceMember rather than selecting columns from a table?

This seems more logical
txtFirstName.BindingSource = oCustomer;
txtFirstName.BindingSourceMember = oCustomer.FirstName; //Property of that BO
rather than
txtFirstName.BindingSourceMember = Customer.FirstName; //Column of that Table
where oCustomer is the BO
and Customer is the table.

In short the "Binding Source Member Selection" Form should show only Properties of the BO that is set in the BindingSource of that Control.


Sarosh
Next
Reply
Map
View

Click here to load this message in the networking platform