1 List<Report> list=Report.FindAllbyClassID(id); 
2 
3 if (list !=null && list.Count>0)
4 
5 {
6 
7      list.Sort(delegate(Report x,Report y){return x.Sort-y.Sort;})
8 
9 }

 

posted on 2013-08-25 15:39  NetBlaze  阅读(3200)  评论(0编辑  收藏  举报