Cor Ligthert [MVP]
12/19/2007 5:10:00 AM
>
> You are right, I want the integer set by SQL. Everything appears to be
> functioning, what in my code suggests I'm using a GUID?
>
Nothing, only your message, have a look at the subject you have used.
That is why I have asked this before we are giving you answers about that
while you are using an automatic seeded integer.
Which is given back in your datatable by the update while using the
SQLClient adapters (when using the right insert SQL script), but not with
OleDB. (Be aware that using a execute scalar with the scope identity will
give you only back the ID of the latest inserted row).
For the rest see Miha's messages about the mappings.
Cor