Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 3189

Re: Create sorted list by ABSL ?

$
0
0

Hi Senthil,

 

You could deine another dummy node in the BO say sortedList2

var sortedList = this.unsortedList.OrderBy(n=>n.someElements); //Clear the dummy node this.sortedList2.Delete(); foreach(var items in sortedList) {     sortedElements.ID = items.ID;     .     .     .     //Populate the dummy node to contain sorted list     this.sortedList2.Create(sortedElements);    } //Clear the original node this.unsortedList2.Delete(); //Copy back to the original node foreach(var items in sortedList2) {     sortedElements.ID = items.ID;     .     .     .     this.unsortedList2.Create(sortedElements);    }Thanks, Pradeep.


Viewing all articles
Browse latest Browse all 3189

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>