See
http://www.vbforums.com/showthread.php?t=352219>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
Éric Moreau, MCPD, Visual Developer - Visual Basic MVP
Conseiller Principal / Senior Consultant
Moer inc.
http://www.emoreau.com