Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
User Control - Setting BindingSource
Message
 
 
À
01/12/2004 16:16:52
Jason Mesches
Ocean Systems Engineering Corporation
Carlsbad, Californie, États-Unis
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Versions des environnements
Environment:
VB.NET 1.1
OS:
Windows XP SP1
Network:
Windows 2003 Server
Database:
MS SQL Server
Divers
Thread ID:
00966165
Message ID:
00966544
Vues:
7
Jason,

Thank you for all your help, I truly appreciate it.

I am still a little bit in the dark on this, so please forgive me.

Where do I call RegisterBoundControl? From the form (FormA)? I do not have that option on any of the user controls (because they are user controls).

I backed up a little bit and got rid of User Control 2 and just placed a simple mmUltraCombo on User Control 1 just to test.

This combo uses a business object to get its data and the usercontrol and main form use a second business object for its data. When i select a record in the datagrid I want the corresponding record looked up in the combo.

I have set all the binding properties on the combo (BindingSource, BindingSourceDisplayMember, BindingSourceValueMember from the businessobject that populates the combo...AND BindingValueSource, BindingValueSourceMember from the business object teh populates the form and usercontrol) and it does indeed change when I select a record in the Datagrid. HOWEVER, it does not show the correct column and I cannot find a way to change it.

I have a lot of hair, and i am about bald pulling it all out. :-)

Any ideas? I figure that if I can get this working, I'll save what's left of my hair and be able to apply it to the second user control.

Thanks...

Scott
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform