Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Returning Identity after Insert
Message
De
16/09/2005 13:37:55
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
16/09/2005 13:15:01
Jerry Tovar
Dana Corporation Dana It
Maumee, Ohio, États-Unis
Information générale
Forum:
ASP.NET
Catégorie:
ADO.NET
Versions des environnements
Environment:
ASP.NET
Database:
MS SQL Server
Divers
Thread ID:
01050383
Message ID:
01050409
Vues:
14
>I have an application in Asp.Net that writes to a SQL Server table. This SQL Server table has an Identity column.
>
>How can I return the value of the Identity column after performing an Insert into the table?
>
>Thanks,
>
>Jerry

Also check:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnadonet/html/manidcrisis.asp

PS: Again I don't suggest using IDENTITY.
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform