I'm trying to fill a typed dataset that has 4 related tables i.e. 1 main parent table and 3 child tables.
I have my dataset structure setup in my C# Winforms application in VS2010.
How do I get data from my database into my dataset which contains related tables all in one SQL statement?
I have successfully used the dataAdapter.Fill method on the parent table, but not sure how to get the child tables filled with related data at the same time.
I'm also trying to avoid having SQL strings at form level , as we are going to push all the SQL and data access functionality into one assembly.