get autonumber of last inserted record

Please support our ASP.NET advertiser: Intel Parallel Studio Home
Reply

Join Date: Jul 2007
Posts: 189
Reputation: plusplus is an unknown quantity at this point 
Solved Threads: 16
plusplus plusplus is offline Offline
Junior Poster

get autonumber of last inserted record

 
0
  #1
Oct 6th, 2008
I have been searching for a solution for this, but all the things I've found do not apply to my problem, so I am giving all the details, and please someone help me
I am using access database
I am using typed datasets as my DAL
I am using objectdatasource with my typeddataset

When inserting a new record (with objectdatasource) using the typed dataset insertstatement I want to get the autonumber of the last inserted record. How do I do this?
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the ASP.NET Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC