Wrox Home  
Search P2P Archive for: Go

  Return to Index  

aspx_beginners thread: sorting dataSet


Message #1 by Cindy.Somerville@h... on Mon, 4 Nov 2002 18:42:57
Hi
My problem is trying to figure out when and where to sort my XML file. 

I have done what I need to do successfully, however my records are being 
displayed in the wrong order. 

I'm not using a repeater because I want to format my output with HTML. So 
far I have been able to place the records into a dataSet table, read each 
record, test the row for specific data. Then I format the selected rows 
into a string with HTML tags. I then place the string into a label and it 
is displayed as per requirements. 

However, my records are in reverse order. 

I've tried a dataView, but now I'm not able to read through it and test 
the fields. Can I read through a dataView and test fields?
How should I go about this? Should I sort the dataSet and place results in 
another dataSet? 
I've been searching the HELP files, but I'm not sure which direction I 
should be going in. 

Could someone please let me know what direction I should be going in to 
solve my problem?

Thank you

  Return to Index