Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Combobox
Message
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Titre:
Divers
Thread ID:
01518054
Message ID:
01519374
Vues:
46
Hi Kevin. I have multiple comboboxes that work fine. There's nothing going on with the relationship. When I delete the relationship a 0 is saved as the foreign key instead of the "Real" value of the foriegn key.

When I step through the code I noticed that

_TRRequestFK = 4
TRRequestFK = 4
As expected

And

_StatusTypeFK = 0
StatusTypeFK = 3 (Example FK)

Seems like it's trying to save the value of _StatusTypeFK to the database instead of the StatusTypeFK value.

If I assign TRRequestFK = 4 before I save the business object it will save that value back to the database when I call the save.

Thanks.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform