Retrieving the value of the identity field of a newly inserted record?

Discussion in 'ASP .Net Web Controls' started by Craig, Jan 2, 2006.

  1. Craig

    Craig Guest

    In ASP.NET 2.0 and the formview control how do you get the value of the
    identity field of a newly inserted record?

    In ASP.NET 1.1 after the new record was saved you just said
    intNewIdentityID = Dataset.tblMtTable.IndentityID
    Simple but can't seem to do it in the formview.



    Thanks
     
    Craig, Jan 2, 2006
    #1
    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. Craig
    Replies:
    1
    Views:
    1,930
    =?Utf-8?B?SmFtZXM=?=
    Jan 25, 2006
  2. Patrick.O.Ige
    Replies:
    0
    Views:
    551
    Patrick.O.Ige
    Oct 31, 2007
  3. fig000
    Replies:
    0
    Views:
    638
    fig000
    Sep 6, 2008
  4. Replies:
    0
    Views:
    231
  5. 11D.Universe

    Retrieve newly inserted record ID?

    11D.Universe, Jun 11, 2007, in forum: ASP .Net Web Controls
    Replies:
    1
    Views:
    185
Loading...

Share This Page