Information générale
Catégorie:
The Mere Mortals .NET Framework
Versions des environnements
Kevin,
I'm sure that I was generating the id first before saving, besides, the save button is not enabled until you have generated the id.
With this said, I tried again and now the id is being generated and I can save these values in the security table. Not sure what was different this time, but as long as it is working now, I'm good.
Thanks.
Bob
>Bob,
>
>>When I attempt to generate a control id for security purposes, an error box displays saying the following:
>>
>>Unable to create a new security record. Exception: Column "SecurityPK is constrained to be unique. Value" is already present.
>>
>>If I am reading this correctly, it would appear that the SecurityPK column is not getting sent over on the attempt to generate and add the row in the table. I am attempting this on my web application.
>
>Hmmm...are you generating a new id first before trying to save?
>
>Best Regards,
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement