ASP .NET 2.0 - Multiple Formviews - inserting data

B

Bob

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
 

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,432
Messages
2,571,680
Members
48,796
Latest member
Greg L.

Latest Threads

Top