Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
New to .NET
Message
De
10/06/2006 16:48:20
Jason Mesches
Ocean Systems Engineering Corporation
Carlsbad, Californie, États-Unis
 
 
À
10/06/2006 16:10:47
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Titre:
Versions des environnements
Environment:
C# 2.0
OS:
Windows XP SP2
Network:
Windows XP
Database:
MS SQL Server
Divers
Thread ID:
01126997
Message ID:
01128299
Vues:
20
Jim,

Don't think you're missing anything. I would suggest putting a breakpoint in the section of SaveDataSet where the parent key value is retrieved and step through it to see what happens. I'd also check to be sure that you have the parent set to retrieve the auto increment value. I thought I saw that in your ABusinessObject code you posted, but it never hurts to double-check.

---J

>Jason/Kevin,
>
>After setting the right breakpoints I pinpointed where things are going wrong. The child bizobj is not having its foreign key populated, despite having set the ForeignParentKeyField property. It was my understanding that setting this field to the correct value would automatically get the parent id and populate the dataview field with the correct value. Am I missing something?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform