Hi
Here my xml document and display format.
Issue :
We are displaying the data in the following format we are using c# and asp.net.
In header each column have link.If we click on column need to sort the xmldocumet and display the data in sorted order.
If anybody have clue pls help me and is very urgent.
Let assume Empno is numeric.
firstname and lastname is string.
joindate is date.
<Persons>
<Person>
<EmpNo>10</EmpNo>
<FirstName>Rober</FirstName>
<LastName>Ellan</LastName>
<JoinDate>10/10/2004</JoinDate>
</Person>
<Person>
<EmpNo>9</EmpNo>
<FirstName>Alln</FirstName>
<LastName>Kelli</LastName>
<JoinDate>10/10/2003</JoinDate>
</Person>
<Person>
<EmpNo>19</EmpNo>
<FirstName>Moliki</FirstName>
<LastName>Pikki</LastName>
<JoinDate>9/9/2000</JoinDate>
</Person>
<Person>
<EmpNo>31</EmpNo>
<FirstName>bekky</FirstName>
<LastName>sony</LastName>
<JoinDate>10/10/2004</JoinDate>
</Person>
</Persons>
__________________________________________________ ______________________
EmpNo FirstName LastName JoinDate
-------- ------------ ------------ ------------
__________________________________________________ ______________________10 Rober Ellan 10/10/2004
9 Alln Kelli 10/10/2003
19 Moliki Pikki 9/9/2000
31 bekky sony 10/10/2004
Ex: If we click on EmpNo column,Data should be sorted as follows.
__________________________________________________ ______________________
EmpNo FirstName LastName JoinDate
-------- ------------ ------------ ------------
9 Alln Kelli 10/10/2003
10 Rober Ellan 10/10/2004
19 Moliki Pikki 9/9/2000
31 bekky sony 10/10/2004
Thanks
Ravi
---
Posted using Wimdows.net NntpNews Component -
Post Made from http://www.DotNetJunkies.com/newsgroups Our newsgroup engine supports Post Alerts, Ratings, and Searching.