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. Advertisements

  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. Advertisements

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,780
    SiliconViper
    Apr 30, 2009
  2. get last inserted ID with

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

    [MSSQL] [WebService] Last inserted ID in transaction

    Robert Wachtel, Apr 11, 2007, in forum: ASP .Net Web Services
    Replies:
    0
    Views:
    379
    Robert Wachtel
    Apr 11, 2007
  6. Richard N.

    mySQL / Last inserted record ID

    Richard N., Oct 20, 2003, in forum: ASP General
    Replies:
    1
    Views:
    353
    Richard N.
    Oct 20, 2003
  7. PT
    Replies:
    1
    Views:
    588
    Ken Schaefer
    Oct 7, 2004
  8. Nick Bicknell

    DBI question - last inserted id?

    Nick Bicknell, Jun 1, 2004, in forum: Ruby
    Replies:
    3
    Views:
    918
    Paul Vudmaska
    Jun 2, 2004
Loading...