Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SaveDataSet Not Generating enough AutoIncrKeys
Message
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Divers
Thread ID:
01102222
Message ID:
01102985
Vues:
14
Rick,

>The rows are all added successfully to the dataset, but when SaveDataSet is called, it using the same value for ID, and therefore the following error is generated
>
>Column 'ID' is constrained to be unique. Value '36' is already present.

Is 36 correct for the first record saved or is it completely wrong?

Best Regards,
Kevin McNeish
Eight-Time .NET MVP
VFP and iOS Author, Speaker & Trainer
Oak Leaf Enterprises, Inc.
Chief Architect, MM Framework
http://www.oakleafsd.com
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform