Wrox Home  
Search P2P Archive for: Go

  Return to Index  

aspx_professional thread: Extracting Autonumber in ASP.NET


Message #1 by pear@p... on Fri, 14 Mar 2003 17:47:17
Hi,

I'm trying to extract the autonumber following an INSERT on an Access 2000 
DB. There is the possibility that concurrent connections may be made so I 
cannot use SELECT MAX(ID) FROM .... and I don't want to use the current 
session ID as the a reference to the new record being inserted; (if all 
else fails I may have to).

I know how to do this using ADO, MSSQL, etc. but not with .NET

Does anyone have any ideas?

Cheers

Pear

  Return to Index