HighTechTalks DotNet Forums  

Get back uniqueid?

Dotnet Framework (ADO.net) microsoft.public.dotnet.framework.adonet


Discuss Get back uniqueid? in the Dotnet Framework (ADO.net) forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #11  
Old   
Cor Ligthert[MVP]
 
Posts: n/a

Default Re: Get back uniqueid? - 12-18-2007 , 11:10 PM






Quote:
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



Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.