By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,948 Members | 852 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,948 IT Pros & Developers. It's quick & easy.

DataSet.GetXml() nesting not working in 1.1 of framework

P: n/a
With framework 1.0 the dataset.getxml() method returned the children nested
within the parent. This doesn't seem to function this way with 1.1. Is
there something I'm missing?
Jul 19 '05 #1
Share this Question
Share on Google+
3 Replies


P: n/a
Hello Eric,

Thanks for your post. I'd like to make check whether you have set the
Nested property of a DataRelation to true which causes the child rows of
the relation to be nested within the parent column. You can set it like:

DataSet.Relations["MyRelation"].Nested = True;

Nested DataRelations
http://msdn.microsoft.com/library/de...us/cpguide/htm
l/cpconnesteddatarelations.asp

Hope this helps.

Regards,

HuangTM
Microsoft Online Partner Support
MCSE/MCSD

Get Secure! C www.microsoft.com/security
This posting is provided as is with no warranties and confers no rights.
Jul 19 '05 #2

P: n/a
This did the trick. Do you know how to set the nested to true from the xsd
definition? Is this possible?
"Tian Min Huang" <ti******@online.microsoft.com> wrote in message
news:oj**************@cpmsftngxa06.phx.gbl...
Hello Eric,

Thanks for your post. I'd like to make check whether you have set the
Nested property of a DataRelation to true which causes the child rows of
the relation to be nested within the parent column. You can set it like:

DataSet.Relations["MyRelation"].Nested = True;

Nested DataRelations
http://msdn.microsoft.com/library/de...us/cpguide/htm l/cpconnesteddatarelations.asp

Hope this helps.

Regards,

HuangTM
Microsoft Online Partner Support
MCSE/MCSD

Get Secure! C www.microsoft.com/security
This posting is provided as is with no warranties and confers no rights.

Jul 19 '05 #3

P: n/a
Eric,

Define the relationship in the visual designer. Then highlight the
relationship and click the properties icon from the VS toolbar. Set the
'Nested' property to 'True'

Thanks

"Eric Decker" <er*********@denverwater.org> wrote in message
news:OR**************@tk2msftngp13.phx.gbl...
This did the trick. Do you know how to set the nested to true from the xsd definition? Is this possible?
"Tian Min Huang" <ti******@online.microsoft.com> wrote in message
news:oj**************@cpmsftngxa06.phx.gbl...
Hello Eric,

Thanks for your post. I'd like to make check whether you have set the
Nested property of a DataRelation to true which causes the child rows of
the relation to be nested within the parent column. You can set it like:

DataSet.Relations["MyRelation"].Nested = True;

Nested DataRelations

http://msdn.microsoft.com/library/de...us/cpguide/htm
l/cpconnesteddatarelations.asp

Hope this helps.

Regards,

HuangTM
Microsoft Online Partner Support
MCSE/MCSD

Get Secure! C www.microsoft.com/security
This posting is provided as is with no warranties and confers no

rights.


Jul 19 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.