示例listview项目:
1 c c
2 b b
3 a a
4 e e
5 d d
如何才能对第2-4行进行排序?
我使用这个简单的代码进行排序,但我想排除一些行(第1行和第5行)
Me.lstReport.SortKey = 1
Me.lstReport.Sorted = True
期望的输出:
1 c c (exclude)
3 a a (sorted)
2 b b (sorted)
4 e e (sorted)
5 d d (exclude)
提前致谢!