FormView: last inserted item ID?

Discussion in 'ASP .Net' started by Daves, Apr 25, 2005.

  1. Daves

    Daves Guest

    how can I get the ID of the new record FormView just inserted?
     
    Daves, Apr 25, 2005
    #1
    1. Advertising

  2. Daves

    Brock Allen Guest

    You DataSource control can return output params and return values. Handle
    the Inserted event from the DataSource to get those types of values.

    -Brock
    DevelopMentor
    http://staff.develop.com/ballen



    > how can I get the ID of the new record FormView just inserted?
    >
     
    Brock Allen, Apr 25, 2005
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Dan Sikorsky
    Replies:
    2
    Views:
    11,544
    SiliconViper
    Apr 30, 2009
  2. get last inserted ID with

    , Aug 29, 2006, in forum: ASP .Net
    Replies:
    3
    Views:
    599
  3. Jim in Arizona
    Replies:
    2
    Views:
    4,730
    Jim in Arizona
    Oct 23, 2008
  4. Replies:
    0
    Views:
    229
  5. Robert Wachtel

    [MSSQL] [WebService] Last inserted ID in transaction

    Robert Wachtel, Apr 11, 2007, in forum: ASP .Net Web Services
    Replies:
    0
    Views:
    275
    Robert Wachtel
    Apr 11, 2007
Loading...

Share This Page