This is a migrated thread and some comments may be shown as answers.

Last Inserted Record Primary Key value

1 Answer 63 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Jaimie
Top achievements
Rank 1
Jaimie asked on 28 Oct 2009, 12:51 AM
Using OpenAccess, is there a way to retrieve the primary key value from the last inserted record? using c#, OpenAccessDataSource, RadGrid

thanks

1 Answer, 1 is accepted

Sort by
0
PetarP
Telerik team
answered on 02 Nov 2009, 04:55 PM
Hi Jaimie,

You should take advantage of the OpenAccessDataSource events. Particularly you will need to subscribe to the Inserted event. Additional information can be found here.

Sincerely yours,
Petar
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
General Discussions
Asked by
Jaimie
Top achievements
Rank 1
Answers by
PetarP
Telerik team
Share this question
or