C#中的排序问题

C#中的排序问题

问题描述:

大家好

我在应用程序C#中使用Windows CE设备我在尝试对ListView进行排序但Sort()属性不存在,那么我如何排序然后在ListView中显示



请帮帮我



全部=谢谢;

Hi All
I am using Windows CE Device in application C# where I am trying to sort ListView but Sort() properties is not there so how can I sort and then show in ListView

Please Help me

All = Thanks;

最有可能你最好提供在服务器端排序的数据,比如SQL的 ORDER BY

或当然C#有无限的可能性。



如果你最终需要在客户端实施排序,我很乐意提供帮助,在这种情况下你需要提供有关数据要求和性质以及列表视图的更多信息。



干杯,

Edo
Most likely you are better off providing the data sorted on the server side, like SQL''s ORDER BY,
or of course C# that has endless possibilities for that.

If you eventually need to implement sorting on the client side, I''ll be happy to help, in which case you need to provide some more info on the requirements and nature of your data and the listview.

Cheers,
Edo


查看此代码项目文章可排序列表视图控件 [ ^ ] - 它看起来很旧(2004年),但今年早些时候更新了
Have a look at this codeproject article A sortable list view control[^] - it looks to be very old (2004) but was updated earlier this year

访问链接...

ListView列分类器 [ ^ ]

http://support.microsoft.com/kb/319401 [ ^ ]



快乐编码!

:)
visit links...
ListView Column Sorter[^]
http://support.microsoft.com/kb/319401[^]

Happy Coding!
:)