Quiz
I found this question to be somewhat problematic even for experience developers :-) Let's see how well you know ADO.NET?
Here is a sample DataSet that holds the tables:
Here is a code sample that do the following:
adds to the DataSet 4 rows: 2 parent rows and then 2 child rows for the 1st parent.
QuizDataSet ds = new QuizDataSet();
ds.Parent.AddParentRow("Parent A");
ds.Parent.AddParentRow("Parent B");
ds.Child.AddChildRow(ds.Parent[0], "Child A");
ds.Child.AddChildRow(ds.Parent[0], "Child B");
The question:
What is the proper way to update the added rows into the database?