Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Web Controls > ASP .NET 2.0 - Multiple Formviews - inserting data

Thread Tools

ASP .NET 2.0 - Multiple Formviews - inserting data

Posts: n/a
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?



Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Is having multiple gridviews and formviews on a single page a good practice? dan ASP .Net 0 04-17-2008 12:46 PM
Data Maintenance Using Formviews ZZ_Scarab ASP .Net Web Controls 2 11-05-2007 06:05 PM
Inserting & Fetching Data into a column of TEXT Data type in SQL server 2000 Using ASP.NET Bhavesh ASP .Net 0 07-16-2007 11:15 AM
FormViews - ASP.NET 2.0 Just Me ASP .Net 2 04-12-2007 08:58 PM
Embedded Formviews Larry R ASP .Net 0 06-27-2006 07:53 PM