Hi,
You never physically reorder the datatable , what you do is create a view of
that data, this view can be sorted using any criteria you want.
In theory you do not need the datatable sorted, if all your iterations
operation happen using a view you will have the datatable sorted as needed.
This gives you the opportunity of having the same table with more than one
sorting at the same time.
In the weird case that you really want to save the values in a particular
order, there are several ways of doing it. you could create a new datatable
with the same schema and copy all the rows in the correct order.
Notice that there is nothing in the docs that assure you than even so you
will have the rows in the expected order though.
--
Ignacio Machin,
ignacio.machin AT dot.state.fl.us
Florida Department Of Transportation
"Hushpappy" <be******@gmail.com> wrote in message
news:11**********************@v46g2000cwv.googlegr oups.com...
Hello,
I'm trying to sort a dataset,
for some reason, when i use the writeXml of the dataset obeject I don't
see any change.
i'm trying to put the view into a dataview and then sort it but
nothings happens.
please advise.