Google Answers Logo
View Question
 
Q: Visual Studio.NET typed dataset - GetChildRows() ( No Answer,   0 Comments )
Question  
Subject: Visual Studio.NET typed dataset - GetChildRows()
Category: Computers > Programming
Asked by: adaml-ga
List Price: $3.00
Posted: 25 Feb 2003 06:10 PST
Expires: 27 Mar 2003 06:10 PST
Question ID: 166842
Hi -
 
I've got a strongly typed (VS-generated) DataSet that is being filled
using a data adapter and stored procedure that returns multiple
results set (one per table in the DataSet).
 
The necessary relations are defined in the schema and are generated
correctly (I think) in the strongly typed class.
 
The problem is that the generated method for retrieving related rows
(similar to GetChildRows in the base class) doesn't retrieve any rows.
 
The schema is defined using nested elements. Constraints are enforced,
the DataRelation.Nested property is set to true (as generated by VS).
However, when I execute GetXml() on the dataset, the related elements
aren't nested.
 
I realize that you can work around this with DataTable.Select. But
that's no fun.
 
Thanks!
Adam
Answer  
There is no answer at this time.

Comments  
There are no comments at this time.

Important Disclaimer: Answers and comments provided on Google Answers are general information, and are not intended to substitute for informed professional medical, psychiatric, psychological, tax, legal, investment, accounting, or other professional advice. Google does not endorse, and expressly disclaims liability for any product, manufacturer, distributor, service or service provider mentioned or any opinion expressed in answers or comments. Please read carefully the Google Answers Terms of Service.

If you feel that you have found inappropriate content, please let us know by emailing us at answers-support@google.com with the question ID listed above. Thank you.
Search Google Answers for
Google Answers  


Google Home - Answers FAQ - Terms of Service - Privacy Policy