G
G .Net
Hi
A question has just occurred to me.
I can get the child rows in a relationship using GetChildRows. Further, I
can do something like:
For Each child As DataRow In parent.GetChildRows("Relationship1")
......
Next
What I'd like to know is how to return the same rows but sorted in some
manner. For example, in reverse order or sorted by a date field in the child
row.
I know I can get the rows using a Select statement BUT I'm wondering if I
can achieve a "sorting" of the children using the technique above.
Does anybody have any ideas?
G
A question has just occurred to me.
I can get the child rows in a relationship using GetChildRows. Further, I
can do something like:
For Each child As DataRow In parent.GetChildRows("Relationship1")
......
Next
What I'd like to know is how to return the same rows but sorted in some
manner. For example, in reverse order or sorted by a date field in the child
row.
I know I can get the rows using a Select statement BUT I'm wondering if I
can achieve a "sorting" of the children using the technique above.
Does anybody have any ideas?
G