Dataset with master and multiple nested tables in DotNet 2.0 WinFo

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I am having a really hard time understanding how to make this work. I have a
datasource/tableadapter/bindingsource setup to talk to a dataset. This
dataset and 1 main table and 3 subtables. 2 subs have a many-one relation
while the last have a 1-1.

What I am not understanding is the workflow to get the data from this
dataset out to my form so that it can be updated/edited and then back to it.

I have the main table bound and it's fields work great for passing back and
forth through the app, but I don't see how to get the nested objects back and
forth. For the 2 many-one I have defined 2 datatables that I expect the data
will be bound to, and form fields for the one-one.

All suggestions or locations for a reference I can look through would be
great!
 
Hi,

Are you having trouble to put modified data back to DataSet or update data
back to the database? Here, I have some good samples in MSDN that
demonstrates how to create master-detail tables in windows form app using
data binding.

http://msdn2.microsoft.com/en-us/library/y8c0cxey.aspx
http://msdn2.microsoft.com/en-us/library/c12c1kx4.aspx
http://msdn2.microsoft.com/en-us/library/ms178809.aspx

HTH.

Kevin Yu
Microsoft Online Community Support

============================================================================
==========================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
============================================================================
==========================

(This posting is provided "AS IS", with no warranties, and confers no
rights.)
 
Back
Top