Last Inserted Record Primary Key value

Thread is closed for posting
2 posts, 0 answers
  1. Jaimie
    Jaimie avatar
    33 posts
    Member since:
    Mar 2008

    Posted 27 Oct 2009 Link to this post

    Using OpenAccess, is there a way to retrieve the primary key value from the last inserted record? using c#, OpenAccessDataSource, RadGrid

    thanks
  2. PetarP
    Admin
    PetarP avatar
    754 posts

    Posted 02 Nov 2009 Link to this post

    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.
Back to Top