在Visual Basic 2008中对Listview进行排序 [英] Sorting Listview in Visual Basic 2008

查看:102
本文介绍了在Visual Basic 2008中对Listview进行排序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

假设有5,000个图书记录,它们将被添加到列表视图中以显示为表格视图.每本书都包含标题,页面,作者和出版年份等信息.

Suppose that there are 5,000 books records, and they will be added into a listview to display as a table view. Every book contains information such Title, Pages, Author, and Publish Year.
How can these listview''s items (books) are sorted quickly via a column (for eg. if the column Author is clicked, the listview will be sorted all items (books) in ascending of Author information?)

推荐答案

请参见以下链接:

http://msdn.microsoft.com/en-us/library/ms229643 (v = vs.80).aspx [
Please see below link:

http://msdn.microsoft.com/en-us/library/ms229643(v=vs.80).aspx[^]


这篇关于在Visual Basic 2008中对Listview进行排序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆