Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
BindingSourceMember
Message
De
23/04/2007 23:15:51
 
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Titre:
BindingSourceMember
Divers
Thread ID:
01219178
Message ID:
01219178
Vues:
90
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform