ASP .NET 2.0 - Multiple Formviews - inserting data

Discussion in 'ASP .Net Web Controls' started by Bob, Apr 8, 2006.

  1. Bob

    Bob Guest

    Ok, I have two formviews with different objectdatasource that are
    linked back to a typed, related dataset.

    Formview1 PK (personID) is an identity, so in insert mode you don't see
    it in the template. However, Formview2 has the FK (personID) but is not
    an identity (of course). I want to submit both forms back to their
    respective table through the tableadapters in the dataset.

    My question(s) is, what is best practice here? and how do I send
    Formview2 to newly created personID so it can insert the correct value
    in the FK?

    Thanks

    Bob
     
    Bob, Apr 8, 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. Larry R

    Embedded Formviews

    Larry R, Jun 27, 2006, in forum: ASP .Net
    Replies:
    0
    Views:
    345
    Larry R
    Jun 27, 2006
  2. Just Me

    FormViews - ASP.NET 2.0

    Just Me, Apr 11, 2007, in forum: ASP .Net
    Replies:
    2
    Views:
    334
    Evan M.
    Apr 12, 2007
  3. Bhavesh
    Replies:
    0
    Views:
    442
    Bhavesh
    Jul 16, 2007
  4. dan
    Replies:
    0
    Views:
    360
  5. ZZ_Scarab

    Data Maintenance Using Formviews

    ZZ_Scarab, Aug 23, 2007, in forum: ASP .Net Web Controls
    Replies:
    2
    Views:
    155
    ZZ_Scarab
    Nov 5, 2007
Loading...

Share This Page