• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 155
  • Last Modified:

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
0
Sling_Blade
Asked:
Sling_Blade
1 Solution
 
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

Featured Post

Prep for the ITIL® Foundation Certification Exam

December’s Course of the Month is now available! Enroll to learn ITIL® Foundation best practices for delivering IT services effectively and efficiently.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now