I have a DataView derived from a Dataset object that gets its data from
an xml file. I am setting the Sort property of the Dataview object to
alphabetize the dataview. However, the resulting dataview is not sorted
but appears in the order of the original xml file. No exceptions are
thrown. Code below:
DataSet ds=new DataSet();
ds.ReadXml(Server.MapPath("lib/leftlinks.xml"));
DataView dv=ds.Tables[0].DefaultView;
dv.Sort="linktitle desc";
I have done this with DB result sets but not with XML. Is there an issue
with XML? Thanks...!
*** Sent via Developersdex http://www.developersdex.com ***