edit and Inserted Item in DetailsView

Discussion in 'ASP .Net' started by David Lozzi, Jan 12, 2007.

  1. David Lozzi

    David Lozzi Guest

    Howdy,

    I have a DetailsView control and i would like, that after a new item is
    inserted, that I can then edit it immediatly. The Select statement is
    dependant upon a querysting for the ID of the records. When the insert
    completes, how do I get the ID so I can redirect them to the same page with
    the querystring, or is there a better way?

    Thanks,

    David Lozzi
     
    David Lozzi, Jan 12, 2007
    #1
    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. Daves

    FormView: last inserted item ID?

    Daves, Apr 25, 2005, in forum: ASP .Net
    Replies:
    1
    Views:
    868
    Brock Allen
    Apr 25, 2005
  2. William LaMartin

    DetailsView edit and insert row widths

    William LaMartin, Jan 22, 2006, in forum: ASP .Net
    Replies:
    4
    Views:
    13,514
    mrpink
    Mar 29, 2009
  3. Laszlo Nagy
    Replies:
    0
    Views:
    525
    Laszlo Nagy
    Jul 20, 2006
  4. Marc
    Replies:
    1
    Views:
    3,721
  5. Replies:
    0
    Views:
    219
  6. Marc
    Replies:
    1
    Views:
    421
  7. Ann
    Replies:
    0
    Views:
    265
  8. Replies:
    5
    Views:
    158
    Gregor Kofler
    Sep 8, 2008
Loading...