Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Binding + Controls
Message
 
À
17/02/2008 16:30:15
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Divers
Thread ID:
01292720
Message ID:
01293295
Vues:
31
Bonnie,

Your example was just fine!

No, incorrect. All the textboxes are bound to the customer table. The combobox is bound to the customer table too, but it's DataSource = salesperson_table (different dataset). That is all there is on the form (no other comboboxes).

Right now I'm in PA, tonight I will be in DE, let me see if I can reproduce this--even though it's working now--and let me see if I can reproduce this without all of my extra code, just a straight example. If I can I will post it.

I will also type the text verbatim from MacDonald's book (along with page number) to show you.

Perhaps I have not explain my findings correctly, but it has nothing to do with what you wrote:

>>>>>>>>>>>>>So, you have a Customer table and a SalesPerson table. If the salesperson_combo has the SalesPerson table as it's datasource, then yes, any other controls (textboxes or whatever) that is databound to that same SalesPerson table will be affected by what "row" the salesperson_combo is on (the BindingContext[SalesPerson]...
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform