ADO.Net - Retrieving Pk of New Record In Access DB

I need to retrieve the Primary Key of a new record I am creating in an Access database using ADO.Net.

Can someone help me with the code I need to do this?

Thanks
Sling_BladeAsked:
Who is Participating?
 
bruintjeCommented:
Hello Sling_Blade,


title: HOW TO: Retrieve the Identity Value While Inserting Records into Access Database By Using Visual Basic .NET
source: http://support.microsoft.com/default.aspx?scid=kb%3Ben-us%3B815629

hope this helps a bit
bruintje
0
 
Sling_BladeAuthor Commented:
That's what I was looking for.

Cheers
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.